@azure/arm-appcomplianceautomation 1.0.0-alpha.20221102.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +21 -0
  3. package/README.md +109 -0
  4. package/dist/index.js +2463 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/operationsListSample.js +42 -0
  11. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  12. package/dist-esm/samples-dev/reportCreateOrUpdateSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/reportCreateOrUpdateSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/reportCreateOrUpdateSample.js +42 -0
  15. package/dist-esm/samples-dev/reportCreateOrUpdateSample.js.map +1 -0
  16. package/dist-esm/samples-dev/reportDeleteSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/reportDeleteSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/reportDeleteSample.js +29 -0
  19. package/dist-esm/samples-dev/reportDeleteSample.js.map +1 -0
  20. package/dist-esm/samples-dev/reportGetSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/reportGetSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/reportGetSample.js +29 -0
  23. package/dist-esm/samples-dev/reportGetSample.js.map +1 -0
  24. package/dist-esm/samples-dev/reportUpdateSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/reportUpdateSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/reportUpdateSample.js +42 -0
  27. package/dist-esm/samples-dev/reportUpdateSample.js.map +1 -0
  28. package/dist-esm/samples-dev/reportsListSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/reportsListSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/reportsListSample.js +52 -0
  31. package/dist-esm/samples-dev/reportsListSample.js.map +1 -0
  32. package/dist-esm/samples-dev/snapshotDownloadSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/snapshotDownloadSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/snapshotDownloadSample.js +101 -0
  35. package/dist-esm/samples-dev/snapshotDownloadSample.js.map +1 -0
  36. package/dist-esm/samples-dev/snapshotGetSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/snapshotGetSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/snapshotGetSample.js +30 -0
  39. package/dist-esm/samples-dev/snapshotGetSample.js.map +1 -0
  40. package/dist-esm/samples-dev/snapshotsListSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/snapshotsListSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/snapshotsListSample.js +53 -0
  43. package/dist-esm/samples-dev/snapshotsListSample.js.map +1 -0
  44. package/dist-esm/src/appComplianceAutomationToolForMicrosoft365.d.ts +22 -0
  45. package/dist-esm/src/appComplianceAutomationToolForMicrosoft365.d.ts.map +1 -0
  46. package/dist-esm/src/appComplianceAutomationToolForMicrosoft365.js +101 -0
  47. package/dist-esm/src/appComplianceAutomationToolForMicrosoft365.js.map +1 -0
  48. package/dist-esm/src/index.d.ts +5 -0
  49. package/dist-esm/src/index.d.ts.map +1 -0
  50. package/dist-esm/src/index.js +12 -0
  51. package/dist-esm/src/index.js.map +1 -0
  52. package/dist-esm/src/lroImpl.d.ts +16 -0
  53. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  54. package/dist-esm/src/lroImpl.js +29 -0
  55. package/dist-esm/src/lroImpl.js.map +1 -0
  56. package/dist-esm/src/models/index.d.ts +1046 -0
  57. package/dist-esm/src/models/index.d.ts.map +1 -0
  58. package/dist-esm/src/models/index.js +166 -0
  59. package/dist-esm/src/models/index.js.map +1 -0
  60. package/dist-esm/src/models/mappers.d.ts +33 -0
  61. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  62. package/dist-esm/src/models/mappers.js +1167 -0
  63. package/dist-esm/src/models/mappers.js.map +1 -0
  64. package/dist-esm/src/models/parameters.d.ts +17 -0
  65. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  66. package/dist-esm/src/models/parameters.js +157 -0
  67. package/dist-esm/src/models/parameters.js.map +1 -0
  68. package/dist-esm/src/operations/index.d.ts +6 -0
  69. package/dist-esm/src/operations/index.d.ts.map +1 -0
  70. package/dist-esm/src/operations/index.js +13 -0
  71. package/dist-esm/src/operations/index.js.map +1 -0
  72. package/dist-esm/src/operations/operations.d.ts +32 -0
  73. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  74. package/dist-esm/src/operations/operations.js +120 -0
  75. package/dist-esm/src/operations/operations.js.map +1 -0
  76. package/dist-esm/src/operations/report.d.ts +60 -0
  77. package/dist-esm/src/operations/report.d.ts.map +1 -0
  78. package/dist-esm/src/operations/report.js +275 -0
  79. package/dist-esm/src/operations/report.js.map +1 -0
  80. package/dist-esm/src/operations/reports.d.ts +32 -0
  81. package/dist-esm/src/operations/reports.d.ts.map +1 -0
  82. package/dist-esm/src/operations/reports.js +134 -0
  83. package/dist-esm/src/operations/reports.js.map +1 -0
  84. package/dist-esm/src/operations/snapshot.d.ts +37 -0
  85. package/dist-esm/src/operations/snapshot.d.ts.map +1 -0
  86. package/dist-esm/src/operations/snapshot.js +140 -0
  87. package/dist-esm/src/operations/snapshot.js.map +1 -0
  88. package/dist-esm/src/operations/snapshots.d.ts +35 -0
  89. package/dist-esm/src/operations/snapshots.d.ts.map +1 -0
  90. package/dist-esm/src/operations/snapshots.js +137 -0
  91. package/dist-esm/src/operations/snapshots.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
  93. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  94. package/dist-esm/src/operationsInterfaces/index.js +13 -0
  95. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  97. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  99. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/report.d.ts +52 -0
  101. package/dist-esm/src/operationsInterfaces/report.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/report.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/report.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/reports.d.ts +11 -0
  105. package/dist-esm/src/operationsInterfaces/reports.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/reports.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/reports.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/snapshot.d.ts +29 -0
  109. package/dist-esm/src/operationsInterfaces/snapshot.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/snapshot.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/snapshot.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/snapshots.d.ts +12 -0
  113. package/dist-esm/src/operationsInterfaces/snapshots.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/snapshots.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/snapshots.js.map +1 -0
  116. package/dist-esm/test/sampleTest.d.ts +2 -0
  117. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  118. package/dist-esm/test/sampleTest.js +38 -0
  119. package/dist-esm/test/sampleTest.js.map +1 -0
  120. package/package.json +122 -0
  121. package/review/arm-appcomplianceautomation.api.md +588 -0
  122. package/rollup.config.js +122 -0
  123. package/src/appComplianceAutomationToolForMicrosoft365.ts +153 -0
  124. package/src/index.ts +12 -0
  125. package/src/lroImpl.ts +34 -0
  126. package/src/models/index.ts +1144 -0
  127. package/src/models/mappers.ts +1207 -0
  128. package/src/models/parameters.ts +181 -0
  129. package/src/operations/index.ts +13 -0
  130. package/src/operations/operations.ts +137 -0
  131. package/src/operations/report.ts +388 -0
  132. package/src/operations/reports.ts +151 -0
  133. package/src/operations/snapshot.ts +201 -0
  134. package/src/operations/snapshots.ts +163 -0
  135. package/src/operationsInterfaces/index.ts +13 -0
  136. package/src/operationsInterfaces/operations.ts +22 -0
  137. package/src/operationsInterfaces/report.ts +102 -0
  138. package/src/operationsInterfaces/reports.ts +22 -0
  139. package/src/operationsInterfaces/snapshot.ts +62 -0
  140. package/src/operationsInterfaces/snapshots.ts +24 -0
  141. package/tsconfig.json +33 -0
  142. package/types/arm-appcomplianceautomation.d.ts +1261 -0
  143. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,1046 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
3
+ export interface OperationListResult {
4
+ /**
5
+ * List of operations supported by the resource provider
6
+ * NOTE: This property will not be serialized. It can only be populated by the server.
7
+ */
8
+ readonly value?: Operation[];
9
+ /**
10
+ * URL to get the next set of operation list results (if there are any).
11
+ * NOTE: This property will not be serialized. It can only be populated by the server.
12
+ */
13
+ readonly nextLink?: string;
14
+ }
15
+ /** Details of a REST API operation, returned from the Resource Provider Operations API */
16
+ export interface Operation {
17
+ /**
18
+ * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
19
+ * NOTE: This property will not be serialized. It can only be populated by the server.
20
+ */
21
+ readonly name?: string;
22
+ /**
23
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
24
+ * NOTE: This property will not be serialized. It can only be populated by the server.
25
+ */
26
+ readonly isDataAction?: boolean;
27
+ /** Localized display information for this particular operation. */
28
+ display?: OperationDisplay;
29
+ /**
30
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
31
+ * NOTE: This property will not be serialized. It can only be populated by the server.
32
+ */
33
+ readonly origin?: Origin;
34
+ /**
35
+ * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
36
+ * NOTE: This property will not be serialized. It can only be populated by the server.
37
+ */
38
+ readonly actionType?: ActionType;
39
+ }
40
+ /** Localized display information for this particular operation. */
41
+ export interface OperationDisplay {
42
+ /**
43
+ * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
44
+ * NOTE: This property will not be serialized. It can only be populated by the server.
45
+ */
46
+ readonly provider?: string;
47
+ /**
48
+ * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
49
+ * NOTE: This property will not be serialized. It can only be populated by the server.
50
+ */
51
+ readonly resource?: string;
52
+ /**
53
+ * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
54
+ * NOTE: This property will not be serialized. It can only be populated by the server.
55
+ */
56
+ readonly operation?: string;
57
+ /**
58
+ * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
59
+ * NOTE: This property will not be serialized. It can only be populated by the server.
60
+ */
61
+ readonly description?: string;
62
+ }
63
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
64
+ export interface ErrorResponse {
65
+ /** The error object. */
66
+ error?: ErrorDetail;
67
+ }
68
+ /** The error detail. */
69
+ export interface ErrorDetail {
70
+ /**
71
+ * The error code.
72
+ * NOTE: This property will not be serialized. It can only be populated by the server.
73
+ */
74
+ readonly code?: string;
75
+ /**
76
+ * The error message.
77
+ * NOTE: This property will not be serialized. It can only be populated by the server.
78
+ */
79
+ readonly message?: string;
80
+ /**
81
+ * The error target.
82
+ * NOTE: This property will not be serialized. It can only be populated by the server.
83
+ */
84
+ readonly target?: string;
85
+ /**
86
+ * The error details.
87
+ * NOTE: This property will not be serialized. It can only be populated by the server.
88
+ */
89
+ readonly details?: ErrorDetail[];
90
+ /**
91
+ * The error additional info.
92
+ * NOTE: This property will not be serialized. It can only be populated by the server.
93
+ */
94
+ readonly additionalInfo?: ErrorAdditionalInfo[];
95
+ }
96
+ /** The resource management error additional info. */
97
+ export interface ErrorAdditionalInfo {
98
+ /**
99
+ * The additional info type.
100
+ * NOTE: This property will not be serialized. It can only be populated by the server.
101
+ */
102
+ readonly type?: string;
103
+ /**
104
+ * The additional info.
105
+ * NOTE: This property will not be serialized. It can only be populated by the server.
106
+ */
107
+ readonly info?: Record<string, unknown>;
108
+ }
109
+ /** Object that includes an array of resources and a possible link for next set. */
110
+ export interface ReportResourceList {
111
+ /**
112
+ * List of the reports
113
+ * NOTE: This property will not be serialized. It can only be populated by the server.
114
+ */
115
+ readonly value?: ReportResource[];
116
+ /**
117
+ * The URL the client should use to fetch the next page (per server side paging).
118
+ * It's null for now, added for future use.
119
+ */
120
+ nextLink?: string;
121
+ }
122
+ /** Report's properties. */
123
+ export interface ReportProperties {
124
+ /**
125
+ * Report id in database.
126
+ * NOTE: This property will not be serialized. It can only be populated by the server.
127
+ */
128
+ readonly id?: string;
129
+ /**
130
+ * Report status.
131
+ * NOTE: This property will not be serialized. It can only be populated by the server.
132
+ */
133
+ readonly status?: ReportStatus;
134
+ /**
135
+ * Report's tenant id.
136
+ * NOTE: This property will not be serialized. It can only be populated by the server.
137
+ */
138
+ readonly tenantId?: string;
139
+ /**
140
+ * Report name.
141
+ * NOTE: This property will not be serialized. It can only be populated by the server.
142
+ */
143
+ readonly reportName?: string;
144
+ /** Report offer Guid. */
145
+ offerGuid?: string;
146
+ /**
147
+ * Report collection trigger time's time zone, the available list can be obtained by executing "Get-TimeZone -ListAvailable" in PowerShell.
148
+ * An example of valid timezone id is "Pacific Standard Time".
149
+ */
150
+ timeZone: string;
151
+ /** Report collection trigger time. */
152
+ triggerTime: Date;
153
+ /**
154
+ * Report next collection trigger time.
155
+ * NOTE: This property will not be serialized. It can only be populated by the server.
156
+ */
157
+ readonly nextTriggerTime?: Date;
158
+ /**
159
+ * Report last collection trigger time.
160
+ * NOTE: This property will not be serialized. It can only be populated by the server.
161
+ */
162
+ readonly lastTriggerTime?: Date;
163
+ /**
164
+ * List of subscription Ids.
165
+ * NOTE: This property will not be serialized. It can only be populated by the server.
166
+ */
167
+ readonly subscriptions?: string[];
168
+ /** List of resource data. */
169
+ resources: ResourceMetadata[];
170
+ /**
171
+ * Report compliance status.
172
+ * NOTE: This property will not be serialized. It can only be populated by the server.
173
+ */
174
+ readonly complianceStatus?: ReportComplianceStatus;
175
+ /**
176
+ * Azure lifecycle management
177
+ * NOTE: This property will not be serialized. It can only be populated by the server.
178
+ */
179
+ readonly provisioningState?: ProvisioningState;
180
+ }
181
+ /** Single resource Id's metadata. */
182
+ export interface ResourceMetadata {
183
+ /** Resource Id - e.g. "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1". */
184
+ resourceId: string;
185
+ /** Resource type. */
186
+ resourceType?: string;
187
+ /** Resource kind. */
188
+ resourceKind?: string;
189
+ /** Resource name. */
190
+ resourceName?: string;
191
+ /** Resource's tag type. */
192
+ tags?: {
193
+ [propertyName: string]: string;
194
+ };
195
+ }
196
+ /** A list which includes all the compliance result for one report. */
197
+ export interface ReportComplianceStatus {
198
+ /** The Microsoft 365 certification name. */
199
+ m365?: OverviewStatus;
200
+ }
201
+ /** The overview of the compliance result for one report. */
202
+ export interface OverviewStatus {
203
+ /** The count of all passed full automation control. */
204
+ passedCount?: number;
205
+ /** The count of all failed full automation control. */
206
+ failedCount?: number;
207
+ /** The count of all manual control. */
208
+ manualCount?: number;
209
+ }
210
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
211
+ export interface Resource {
212
+ /**
213
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
214
+ * NOTE: This property will not be serialized. It can only be populated by the server.
215
+ */
216
+ readonly id?: string;
217
+ /**
218
+ * The name of the resource
219
+ * NOTE: This property will not be serialized. It can only be populated by the server.
220
+ */
221
+ readonly name?: string;
222
+ /**
223
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
224
+ * NOTE: This property will not be serialized. It can only be populated by the server.
225
+ */
226
+ readonly type?: string;
227
+ /**
228
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
229
+ * NOTE: This property will not be serialized. It can only be populated by the server.
230
+ */
231
+ readonly systemData?: SystemData;
232
+ }
233
+ /** Metadata pertaining to creation and last modification of the resource. */
234
+ export interface SystemData {
235
+ /** The identity that created the resource. */
236
+ createdBy?: string;
237
+ /** The type of identity that created the resource. */
238
+ createdByType?: CreatedByType;
239
+ /** The timestamp of resource creation (UTC). */
240
+ createdAt?: Date;
241
+ /** The identity that last modified the resource. */
242
+ lastModifiedBy?: string;
243
+ /** The type of identity that last modified the resource. */
244
+ lastModifiedByType?: CreatedByType;
245
+ /** The timestamp of resource last modification (UTC) */
246
+ lastModifiedAt?: Date;
247
+ }
248
+ /** A class represent a AppComplianceAutomation report resource update properties. */
249
+ export interface ReportResourcePatch {
250
+ /** Report property. */
251
+ properties?: ReportProperties;
252
+ }
253
+ /** Object that includes an array of resources and a possible link for next set. */
254
+ export interface SnapshotResourceList {
255
+ /**
256
+ * List of the snapshots
257
+ * NOTE: This property will not be serialized. It can only be populated by the server.
258
+ */
259
+ readonly value?: SnapshotResource[];
260
+ /**
261
+ * The URL the client should use to fetch the next page (per server side paging).
262
+ * It's null for now, added for future use.
263
+ */
264
+ nextLink?: string;
265
+ }
266
+ /** Snapshot's properties. */
267
+ export interface SnapshotProperties {
268
+ /**
269
+ * Snapshot id in the database.
270
+ * NOTE: This property will not be serialized. It can only be populated by the server.
271
+ */
272
+ readonly id?: string;
273
+ /**
274
+ * Snapshot name.
275
+ * NOTE: This property will not be serialized. It can only be populated by the server.
276
+ */
277
+ readonly snapshotName?: string;
278
+ /**
279
+ * The timestamp of resource creation (UTC).
280
+ * NOTE: This property will not be serialized. It can only be populated by the server.
281
+ */
282
+ readonly createdAt?: Date;
283
+ /**
284
+ * Azure lifecycle management
285
+ * NOTE: This property will not be serialized. It can only be populated by the server.
286
+ */
287
+ readonly provisioningState?: ProvisioningState;
288
+ /**
289
+ * The report essential info.
290
+ * NOTE: This property will not be serialized. It can only be populated by the server.
291
+ */
292
+ readonly reportProperties?: ReportProperties;
293
+ /**
294
+ * Metadata pertaining to creation and last modification of the resource.
295
+ * NOTE: This property will not be serialized. It can only be populated by the server.
296
+ */
297
+ readonly reportSystemData?: SystemData;
298
+ /**
299
+ * List of compliance results.
300
+ * NOTE: This property will not be serialized. It can only be populated by the server.
301
+ */
302
+ readonly complianceResults?: ComplianceResult[];
303
+ }
304
+ /** A class represent the compliance result. */
305
+ export interface ComplianceResult {
306
+ /**
307
+ * The name of the compliance. e.g. "M365"
308
+ * NOTE: This property will not be serialized. It can only be populated by the server.
309
+ */
310
+ readonly complianceName?: string;
311
+ /**
312
+ * List of categories.
313
+ * NOTE: This property will not be serialized. It can only be populated by the server.
314
+ */
315
+ readonly categories?: Category[];
316
+ }
317
+ /** A class represent the compliance category. */
318
+ export interface Category {
319
+ /**
320
+ * The name of the compliance category. e.g. "Operational Security"
321
+ * NOTE: This property will not be serialized. It can only be populated by the server.
322
+ */
323
+ readonly categoryName?: string;
324
+ /**
325
+ * The category type
326
+ * NOTE: This property will not be serialized. It can only be populated by the server.
327
+ */
328
+ readonly categoryType?: CategoryType;
329
+ /**
330
+ * Category status.
331
+ * NOTE: This property will not be serialized. It can only be populated by the server.
332
+ */
333
+ readonly categoryStatus?: CategoryStatus;
334
+ /**
335
+ * List of control families.
336
+ * NOTE: This property will not be serialized. It can only be populated by the server.
337
+ */
338
+ readonly controlFamilies?: ControlFamily[];
339
+ }
340
+ /** A class represent the control family. */
341
+ export interface ControlFamily {
342
+ /**
343
+ * The name of the control family. e.g. "Malware Protection - Anti-Virus"
344
+ * NOTE: This property will not be serialized. It can only be populated by the server.
345
+ */
346
+ readonly familyName?: string;
347
+ /**
348
+ * The control family type
349
+ * NOTE: This property will not be serialized. It can only be populated by the server.
350
+ */
351
+ readonly familyType?: ControlFamilyType;
352
+ /**
353
+ * Control family status.
354
+ * NOTE: This property will not be serialized. It can only be populated by the server.
355
+ */
356
+ readonly familyStatus?: ControlFamilyStatus;
357
+ /**
358
+ * List of controls.
359
+ * NOTE: This property will not be serialized. It can only be populated by the server.
360
+ */
361
+ readonly controls?: Control[];
362
+ }
363
+ /** A class represent the control. */
364
+ export interface Control {
365
+ /**
366
+ * The Id of the control. e.g. "Operational Security#10"
367
+ * NOTE: This property will not be serialized. It can only be populated by the server.
368
+ */
369
+ readonly controlId?: string;
370
+ /**
371
+ * The short name of the control. e.g. "Unsupported OS and Software."
372
+ * NOTE: This property will not be serialized. It can only be populated by the server.
373
+ */
374
+ readonly controlShortName?: string;
375
+ /**
376
+ * The full name of the control. e.g. "Validate that unsupported operating systems and software components are not in use."
377
+ * NOTE: This property will not be serialized. It can only be populated by the server.
378
+ */
379
+ readonly controlFullName?: string;
380
+ /**
381
+ * The control type
382
+ * NOTE: This property will not be serialized. It can only be populated by the server.
383
+ */
384
+ readonly controlType?: ControlType;
385
+ /**
386
+ * The control's description
387
+ * NOTE: This property will not be serialized. It can only be populated by the server.
388
+ */
389
+ readonly controlDescription?: string;
390
+ /**
391
+ * The hyper link to the control's description'.
392
+ * NOTE: This property will not be serialized. It can only be populated by the server.
393
+ */
394
+ readonly controlDescriptionHyperLink?: string;
395
+ /**
396
+ * Control status.
397
+ * NOTE: This property will not be serialized. It can only be populated by the server.
398
+ */
399
+ readonly controlStatus?: ControlStatus;
400
+ /**
401
+ * List of assessments.
402
+ * NOTE: This property will not be serialized. It can only be populated by the server.
403
+ */
404
+ readonly assessments?: Assessment[];
405
+ }
406
+ /** A class represent the assessment. */
407
+ export interface Assessment {
408
+ /**
409
+ * The name of the assessment.
410
+ * NOTE: This property will not be serialized. It can only be populated by the server.
411
+ */
412
+ readonly name?: string;
413
+ /**
414
+ * The severity level of this assessment.
415
+ * NOTE: This property will not be serialized. It can only be populated by the server.
416
+ */
417
+ readonly severity?: AssessmentSeverity;
418
+ /**
419
+ * The description of the assessment.
420
+ * NOTE: This property will not be serialized. It can only be populated by the server.
421
+ */
422
+ readonly description?: string;
423
+ /**
424
+ * The remediation of the assessment.
425
+ * NOTE: This property will not be serialized. It can only be populated by the server.
426
+ */
427
+ readonly remediation?: string;
428
+ /**
429
+ * Indicates whether all the resource(s) are compliant.
430
+ * NOTE: This property will not be serialized. It can only be populated by the server.
431
+ */
432
+ readonly isPass?: IsPass;
433
+ /**
434
+ * The policy id mapping to this assessment.
435
+ * NOTE: This property will not be serialized. It can only be populated by the server.
436
+ */
437
+ readonly policyId?: string;
438
+ /**
439
+ * List of resource assessments.
440
+ * NOTE: This property will not be serialized. It can only be populated by the server.
441
+ */
442
+ readonly resourceList?: AssessmentResource[];
443
+ }
444
+ /** A class represent the assessment resource. */
445
+ export interface AssessmentResource {
446
+ /**
447
+ * The Id of the resource.
448
+ * NOTE: This property will not be serialized. It can only be populated by the server.
449
+ */
450
+ readonly resourceId?: string;
451
+ /**
452
+ * Resource status.
453
+ * NOTE: This property will not be serialized. It can only be populated by the server.
454
+ */
455
+ readonly resourceStatus?: ResourceStatus;
456
+ /**
457
+ * The reason for the N/A resource.
458
+ * NOTE: This property will not be serialized. It can only be populated by the server.
459
+ */
460
+ readonly reason?: string;
461
+ /**
462
+ * The status change date for the resource. For unavailable date, set it as N/A.
463
+ * NOTE: This property will not be serialized. It can only be populated by the server.
464
+ */
465
+ readonly statusChangeDate?: string;
466
+ }
467
+ /** Snapshot's download request. */
468
+ export interface SnapshotDownloadRequest {
469
+ /** Tenant id. */
470
+ reportCreatorTenantId?: string;
471
+ /** Indicates the download type. */
472
+ downloadType: DownloadType;
473
+ /** The offerGuid which mapping to the reports. */
474
+ offerGuid?: string;
475
+ }
476
+ /** Object that includes all the possible response for the download operation. */
477
+ export interface DownloadResponse {
478
+ /**
479
+ * List of the reports
480
+ * NOTE: This property will not be serialized. It can only be populated by the server.
481
+ */
482
+ readonly resourceList?: ResourceItem[];
483
+ /**
484
+ * List of the compliance result
485
+ * NOTE: This property will not be serialized. It can only be populated by the server.
486
+ */
487
+ readonly complianceReport?: ComplianceReportItem[];
488
+ /**
489
+ * compliance pdf report
490
+ * NOTE: This property will not be serialized. It can only be populated by the server.
491
+ */
492
+ readonly compliancePdfReport?: DownloadResponseCompliancePdfReport;
493
+ /**
494
+ * compliance detailed pdf report
495
+ * NOTE: This property will not be serialized. It can only be populated by the server.
496
+ */
497
+ readonly complianceDetailedPdfReport?: DownloadResponseComplianceDetailedPdfReport;
498
+ }
499
+ /** Resource Id. */
500
+ export interface ResourceItem {
501
+ /**
502
+ * The subscription Id of this resource.
503
+ * NOTE: This property will not be serialized. It can only be populated by the server.
504
+ */
505
+ readonly subscriptionId?: string;
506
+ /**
507
+ * The resource group name of this resource.
508
+ * NOTE: This property will not be serialized. It can only be populated by the server.
509
+ */
510
+ readonly resourceGroup?: string;
511
+ /**
512
+ * The resource type of this resource.
513
+ * NOTE: This property will not be serialized. It can only be populated by the server.
514
+ */
515
+ readonly resourceType?: string;
516
+ /**
517
+ * The resource Id - e.g. "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1".
518
+ * NOTE: This property will not be serialized. It can only be populated by the server.
519
+ */
520
+ readonly resourceId?: string;
521
+ }
522
+ /** Object that includes all the content for single compliance result. */
523
+ export interface ComplianceReportItem {
524
+ /**
525
+ * The category name.
526
+ * NOTE: This property will not be serialized. It can only be populated by the server.
527
+ */
528
+ readonly categoryName?: string;
529
+ /**
530
+ * The control Id - e.g. "1".
531
+ * NOTE: This property will not be serialized. It can only be populated by the server.
532
+ */
533
+ readonly controlId?: string;
534
+ /**
535
+ * The control name.
536
+ * NOTE: This property will not be serialized. It can only be populated by the server.
537
+ */
538
+ readonly controlName?: string;
539
+ /**
540
+ * The control type.
541
+ * NOTE: This property will not be serialized. It can only be populated by the server.
542
+ */
543
+ readonly controlType?: ControlType;
544
+ /**
545
+ * The compliance result's status.
546
+ * NOTE: This property will not be serialized. It can only be populated by the server.
547
+ */
548
+ readonly complianceState?: ComplianceState;
549
+ /**
550
+ * The compliance result mapped policy Id.
551
+ * NOTE: This property will not be serialized. It can only be populated by the server.
552
+ */
553
+ readonly policyId?: string;
554
+ /**
555
+ * The policy's display name.
556
+ * NOTE: This property will not be serialized. It can only be populated by the server.
557
+ */
558
+ readonly policyDisplayName?: string;
559
+ /**
560
+ * The policy's detail description.
561
+ * NOTE: This property will not be serialized. It can only be populated by the server.
562
+ */
563
+ readonly policyDescription?: string;
564
+ /**
565
+ * The compliance result mapped subscription Id.
566
+ * NOTE: This property will not be serialized. It can only be populated by the server.
567
+ */
568
+ readonly subscriptionId?: string;
569
+ /**
570
+ * The compliance result mapped resource group.
571
+ * NOTE: This property will not be serialized. It can only be populated by the server.
572
+ */
573
+ readonly resourceGroup?: string;
574
+ /**
575
+ * The compliance result mapped resource type.
576
+ * NOTE: This property will not be serialized. It can only be populated by the server.
577
+ */
578
+ readonly resourceType?: string;
579
+ /**
580
+ * The compliance result mapped resource Id - e.g. "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1".
581
+ * NOTE: This property will not be serialized. It can only be populated by the server.
582
+ */
583
+ readonly resourceId?: string;
584
+ /**
585
+ * The compliance result last changed date - e.g. "2022-10-24T02:55:16.3274379Z". For unavailable date, set it as "N/A".
586
+ * NOTE: This property will not be serialized. It can only be populated by the server.
587
+ */
588
+ readonly statusChangeDate?: string;
589
+ }
590
+ /** compliance pdf report */
591
+ export interface DownloadResponseCompliancePdfReport {
592
+ /**
593
+ * uri of compliance pdf report
594
+ * NOTE: This property will not be serialized. It can only be populated by the server.
595
+ */
596
+ readonly sasUri?: string;
597
+ }
598
+ /** compliance detailed pdf report */
599
+ export interface DownloadResponseComplianceDetailedPdfReport {
600
+ /**
601
+ * uri of compliance detailed pdf report
602
+ * NOTE: This property will not be serialized. It can only be populated by the server.
603
+ */
604
+ readonly sasUri?: string;
605
+ }
606
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
607
+ export interface ProxyResource extends Resource {
608
+ }
609
+ /** A class represent an AppComplianceAutomation report resource. */
610
+ export interface ReportResource extends ProxyResource {
611
+ /** Report property. */
612
+ properties: ReportProperties;
613
+ }
614
+ /** A class represent a AppComplianceAutomation snapshot resource. */
615
+ export interface SnapshotResource extends ProxyResource {
616
+ /**
617
+ * Snapshot's property'.
618
+ * NOTE: This property will not be serialized. It can only be populated by the server.
619
+ */
620
+ readonly properties?: SnapshotProperties;
621
+ }
622
+ /** Known values of {@link Origin} that the service accepts. */
623
+ export declare enum KnownOrigin {
624
+ /** User */
625
+ User = "user",
626
+ /** System */
627
+ System = "system",
628
+ /** UserSystem */
629
+ UserSystem = "user,system"
630
+ }
631
+ /**
632
+ * Defines values for Origin. \
633
+ * {@link KnownOrigin} can be used interchangeably with Origin,
634
+ * this enum contains the known values that the service supports.
635
+ * ### Known values supported by the service
636
+ * **user** \
637
+ * **system** \
638
+ * **user,system**
639
+ */
640
+ export declare type Origin = string;
641
+ /** Known values of {@link ActionType} that the service accepts. */
642
+ export declare enum KnownActionType {
643
+ /** Internal */
644
+ Internal = "Internal"
645
+ }
646
+ /**
647
+ * Defines values for ActionType. \
648
+ * {@link KnownActionType} can be used interchangeably with ActionType,
649
+ * this enum contains the known values that the service supports.
650
+ * ### Known values supported by the service
651
+ * **Internal**
652
+ */
653
+ export declare type ActionType = string;
654
+ /** Known values of {@link ReportStatus} that the service accepts. */
655
+ export declare enum KnownReportStatus {
656
+ /** Active */
657
+ Active = "Active",
658
+ /** Failed */
659
+ Failed = "Failed",
660
+ /** Disabled */
661
+ Disabled = "Disabled"
662
+ }
663
+ /**
664
+ * Defines values for ReportStatus. \
665
+ * {@link KnownReportStatus} can be used interchangeably with ReportStatus,
666
+ * this enum contains the known values that the service supports.
667
+ * ### Known values supported by the service
668
+ * **Active** \
669
+ * **Failed** \
670
+ * **Disabled**
671
+ */
672
+ export declare type ReportStatus = string;
673
+ /** Known values of {@link ProvisioningState} that the service accepts. */
674
+ export declare enum KnownProvisioningState {
675
+ /** Succeeded */
676
+ Succeeded = "Succeeded",
677
+ /** Failed */
678
+ Failed = "Failed",
679
+ /** Canceled */
680
+ Canceled = "Canceled",
681
+ /** Creating */
682
+ Creating = "Creating",
683
+ /** Deleting */
684
+ Deleting = "Deleting",
685
+ /** Updating */
686
+ Updating = "Updating"
687
+ }
688
+ /**
689
+ * Defines values for ProvisioningState. \
690
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
691
+ * this enum contains the known values that the service supports.
692
+ * ### Known values supported by the service
693
+ * **Succeeded** \
694
+ * **Failed** \
695
+ * **Canceled** \
696
+ * **Creating** \
697
+ * **Deleting** \
698
+ * **Updating**
699
+ */
700
+ export declare type ProvisioningState = string;
701
+ /** Known values of {@link CreatedByType} that the service accepts. */
702
+ export declare enum KnownCreatedByType {
703
+ /** User */
704
+ User = "User",
705
+ /** Application */
706
+ Application = "Application",
707
+ /** ManagedIdentity */
708
+ ManagedIdentity = "ManagedIdentity",
709
+ /** Key */
710
+ Key = "Key"
711
+ }
712
+ /**
713
+ * Defines values for CreatedByType. \
714
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
715
+ * this enum contains the known values that the service supports.
716
+ * ### Known values supported by the service
717
+ * **User** \
718
+ * **Application** \
719
+ * **ManagedIdentity** \
720
+ * **Key**
721
+ */
722
+ export declare type CreatedByType = string;
723
+ /** Known values of {@link CategoryType} that the service accepts. */
724
+ export declare enum KnownCategoryType {
725
+ /** FullyAutomated */
726
+ FullyAutomated = "FullyAutomated",
727
+ /** PartiallyAutomated */
728
+ PartiallyAutomated = "PartiallyAutomated",
729
+ /** Manual */
730
+ Manual = "Manual"
731
+ }
732
+ /**
733
+ * Defines values for CategoryType. \
734
+ * {@link KnownCategoryType} can be used interchangeably with CategoryType,
735
+ * this enum contains the known values that the service supports.
736
+ * ### Known values supported by the service
737
+ * **FullyAutomated** \
738
+ * **PartiallyAutomated** \
739
+ * **Manual**
740
+ */
741
+ export declare type CategoryType = string;
742
+ /** Known values of {@link CategoryStatus} that the service accepts. */
743
+ export declare enum KnownCategoryStatus {
744
+ /** Healthy */
745
+ Healthy = "Healthy",
746
+ /** Unhealthy */
747
+ Unhealthy = "Unhealthy"
748
+ }
749
+ /**
750
+ * Defines values for CategoryStatus. \
751
+ * {@link KnownCategoryStatus} can be used interchangeably with CategoryStatus,
752
+ * this enum contains the known values that the service supports.
753
+ * ### Known values supported by the service
754
+ * **Healthy** \
755
+ * **Unhealthy**
756
+ */
757
+ export declare type CategoryStatus = string;
758
+ /** Known values of {@link ControlFamilyType} that the service accepts. */
759
+ export declare enum KnownControlFamilyType {
760
+ /** FullyAutomated */
761
+ FullyAutomated = "FullyAutomated",
762
+ /** PartiallyAutomated */
763
+ PartiallyAutomated = "PartiallyAutomated",
764
+ /** Manual */
765
+ Manual = "Manual"
766
+ }
767
+ /**
768
+ * Defines values for ControlFamilyType. \
769
+ * {@link KnownControlFamilyType} can be used interchangeably with ControlFamilyType,
770
+ * this enum contains the known values that the service supports.
771
+ * ### Known values supported by the service
772
+ * **FullyAutomated** \
773
+ * **PartiallyAutomated** \
774
+ * **Manual**
775
+ */
776
+ export declare type ControlFamilyType = string;
777
+ /** Known values of {@link ControlFamilyStatus} that the service accepts. */
778
+ export declare enum KnownControlFamilyStatus {
779
+ /** Healthy */
780
+ Healthy = "Healthy",
781
+ /** Unhealthy */
782
+ Unhealthy = "Unhealthy"
783
+ }
784
+ /**
785
+ * Defines values for ControlFamilyStatus. \
786
+ * {@link KnownControlFamilyStatus} can be used interchangeably with ControlFamilyStatus,
787
+ * this enum contains the known values that the service supports.
788
+ * ### Known values supported by the service
789
+ * **Healthy** \
790
+ * **Unhealthy**
791
+ */
792
+ export declare type ControlFamilyStatus = string;
793
+ /** Known values of {@link ControlType} that the service accepts. */
794
+ export declare enum KnownControlType {
795
+ /** FullyAutomated */
796
+ FullyAutomated = "FullyAutomated",
797
+ /** PartiallyAutomated */
798
+ PartiallyAutomated = "PartiallyAutomated",
799
+ /** Manual */
800
+ Manual = "Manual"
801
+ }
802
+ /**
803
+ * Defines values for ControlType. \
804
+ * {@link KnownControlType} can be used interchangeably with ControlType,
805
+ * this enum contains the known values that the service supports.
806
+ * ### Known values supported by the service
807
+ * **FullyAutomated** \
808
+ * **PartiallyAutomated** \
809
+ * **Manual**
810
+ */
811
+ export declare type ControlType = string;
812
+ /** Known values of {@link ControlStatus} that the service accepts. */
813
+ export declare enum KnownControlStatus {
814
+ /** Passed */
815
+ Passed = "Passed",
816
+ /** Failed */
817
+ Failed = "Failed",
818
+ /** NotApplicable */
819
+ NotApplicable = "NotApplicable"
820
+ }
821
+ /**
822
+ * Defines values for ControlStatus. \
823
+ * {@link KnownControlStatus} can be used interchangeably with ControlStatus,
824
+ * this enum contains the known values that the service supports.
825
+ * ### Known values supported by the service
826
+ * **Passed** \
827
+ * **Failed** \
828
+ * **NotApplicable**
829
+ */
830
+ export declare type ControlStatus = string;
831
+ /** Known values of {@link AssessmentSeverity} that the service accepts. */
832
+ export declare enum KnownAssessmentSeverity {
833
+ /** High */
834
+ High = "High",
835
+ /** Medium */
836
+ Medium = "Medium",
837
+ /** Low */
838
+ Low = "Low"
839
+ }
840
+ /**
841
+ * Defines values for AssessmentSeverity. \
842
+ * {@link KnownAssessmentSeverity} can be used interchangeably with AssessmentSeverity,
843
+ * this enum contains the known values that the service supports.
844
+ * ### Known values supported by the service
845
+ * **High** \
846
+ * **Medium** \
847
+ * **Low**
848
+ */
849
+ export declare type AssessmentSeverity = string;
850
+ /** Known values of {@link IsPass} that the service accepts. */
851
+ export declare enum KnownIsPass {
852
+ /** True */
853
+ True = "True",
854
+ /** False */
855
+ False = "False"
856
+ }
857
+ /**
858
+ * Defines values for IsPass. \
859
+ * {@link KnownIsPass} can be used interchangeably with IsPass,
860
+ * this enum contains the known values that the service supports.
861
+ * ### Known values supported by the service
862
+ * **True** \
863
+ * **False**
864
+ */
865
+ export declare type IsPass = string;
866
+ /** Known values of {@link ResourceStatus} that the service accepts. */
867
+ export declare enum KnownResourceStatus {
868
+ /** Healthy */
869
+ Healthy = "Healthy",
870
+ /** Unhealthy */
871
+ Unhealthy = "Unhealthy",
872
+ /** NotApplicable */
873
+ NotApplicable = "NotApplicable"
874
+ }
875
+ /**
876
+ * Defines values for ResourceStatus. \
877
+ * {@link KnownResourceStatus} can be used interchangeably with ResourceStatus,
878
+ * this enum contains the known values that the service supports.
879
+ * ### Known values supported by the service
880
+ * **Healthy** \
881
+ * **Unhealthy** \
882
+ * **NotApplicable**
883
+ */
884
+ export declare type ResourceStatus = string;
885
+ /** Known values of {@link DownloadType} that the service accepts. */
886
+ export declare enum KnownDownloadType {
887
+ /** ComplianceReport */
888
+ ComplianceReport = "ComplianceReport",
889
+ /** CompliancePdfReport */
890
+ CompliancePdfReport = "CompliancePdfReport",
891
+ /** ComplianceDetailedPdfReport */
892
+ ComplianceDetailedPdfReport = "ComplianceDetailedPdfReport",
893
+ /** ResourceList */
894
+ ResourceList = "ResourceList"
895
+ }
896
+ /**
897
+ * Defines values for DownloadType. \
898
+ * {@link KnownDownloadType} can be used interchangeably with DownloadType,
899
+ * this enum contains the known values that the service supports.
900
+ * ### Known values supported by the service
901
+ * **ComplianceReport** \
902
+ * **CompliancePdfReport** \
903
+ * **ComplianceDetailedPdfReport** \
904
+ * **ResourceList**
905
+ */
906
+ export declare type DownloadType = string;
907
+ /** Known values of {@link ComplianceState} that the service accepts. */
908
+ export declare enum KnownComplianceState {
909
+ /** Healthy */
910
+ Healthy = "Healthy",
911
+ /** Unhealthy */
912
+ Unhealthy = "Unhealthy"
913
+ }
914
+ /**
915
+ * Defines values for ComplianceState. \
916
+ * {@link KnownComplianceState} can be used interchangeably with ComplianceState,
917
+ * this enum contains the known values that the service supports.
918
+ * ### Known values supported by the service
919
+ * **Healthy** \
920
+ * **Unhealthy**
921
+ */
922
+ export declare type ComplianceState = string;
923
+ /** Optional parameters. */
924
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
925
+ }
926
+ /** Contains response data for the list operation. */
927
+ export declare type OperationsListResponse = OperationListResult;
928
+ /** Optional parameters. */
929
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
930
+ }
931
+ /** Contains response data for the listNext operation. */
932
+ export declare type OperationsListNextResponse = OperationListResult;
933
+ /** Optional parameters. */
934
+ export interface ReportsListOptionalParams extends coreClient.OperationOptions {
935
+ /** Skip over when retrieving results. */
936
+ skipToken?: string;
937
+ /** Number of elements to return when retrieving results. */
938
+ top?: number;
939
+ /** OData Select statement. Limits the properties on each entry to just those requested, e.g. ?$select=reportName,id. */
940
+ select?: string;
941
+ /** The offerGuid which mapping to the reports. */
942
+ offerGuid?: string;
943
+ /** The tenant id of the report creator. */
944
+ reportCreatorTenantId?: string;
945
+ }
946
+ /** Contains response data for the list operation. */
947
+ export declare type ReportsListResponse = ReportResourceList;
948
+ /** Optional parameters. */
949
+ export interface ReportsListNextOptionalParams extends coreClient.OperationOptions {
950
+ /** Skip over when retrieving results. */
951
+ skipToken?: string;
952
+ /** Number of elements to return when retrieving results. */
953
+ top?: number;
954
+ /** OData Select statement. Limits the properties on each entry to just those requested, e.g. ?$select=reportName,id. */
955
+ select?: string;
956
+ /** The offerGuid which mapping to the reports. */
957
+ offerGuid?: string;
958
+ /** The tenant id of the report creator. */
959
+ reportCreatorTenantId?: string;
960
+ }
961
+ /** Contains response data for the listNext operation. */
962
+ export declare type ReportsListNextResponse = ReportResourceList;
963
+ /** Optional parameters. */
964
+ export interface ReportGetOptionalParams extends coreClient.OperationOptions {
965
+ }
966
+ /** Contains response data for the get operation. */
967
+ export declare type ReportGetResponse = ReportResource;
968
+ /** Optional parameters. */
969
+ export interface ReportCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
970
+ /** Delay to wait until next poll, in milliseconds. */
971
+ updateIntervalInMs?: number;
972
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
973
+ resumeFrom?: string;
974
+ }
975
+ /** Contains response data for the createOrUpdate operation. */
976
+ export declare type ReportCreateOrUpdateResponse = ReportResource;
977
+ /** Optional parameters. */
978
+ export interface ReportUpdateOptionalParams extends coreClient.OperationOptions {
979
+ /** Delay to wait until next poll, in milliseconds. */
980
+ updateIntervalInMs?: number;
981
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
982
+ resumeFrom?: string;
983
+ }
984
+ /** Contains response data for the update operation. */
985
+ export declare type ReportUpdateResponse = ReportResource;
986
+ /** Optional parameters. */
987
+ export interface ReportDeleteOptionalParams extends coreClient.OperationOptions {
988
+ /** Delay to wait until next poll, in milliseconds. */
989
+ updateIntervalInMs?: number;
990
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
991
+ resumeFrom?: string;
992
+ }
993
+ /** Optional parameters. */
994
+ export interface SnapshotsListOptionalParams extends coreClient.OperationOptions {
995
+ /** Skip over when retrieving results. */
996
+ skipToken?: string;
997
+ /** Number of elements to return when retrieving results. */
998
+ top?: number;
999
+ /** OData Select statement. Limits the properties on each entry to just those requested, e.g. ?$select=reportName,id. */
1000
+ select?: string;
1001
+ /** The offerGuid which mapping to the reports. */
1002
+ offerGuid?: string;
1003
+ /** The tenant id of the report creator. */
1004
+ reportCreatorTenantId?: string;
1005
+ }
1006
+ /** Contains response data for the list operation. */
1007
+ export declare type SnapshotsListResponse = SnapshotResourceList;
1008
+ /** Optional parameters. */
1009
+ export interface SnapshotsListNextOptionalParams extends coreClient.OperationOptions {
1010
+ /** Skip over when retrieving results. */
1011
+ skipToken?: string;
1012
+ /** Number of elements to return when retrieving results. */
1013
+ top?: number;
1014
+ /** OData Select statement. Limits the properties on each entry to just those requested, e.g. ?$select=reportName,id. */
1015
+ select?: string;
1016
+ /** The offerGuid which mapping to the reports. */
1017
+ offerGuid?: string;
1018
+ /** The tenant id of the report creator. */
1019
+ reportCreatorTenantId?: string;
1020
+ }
1021
+ /** Contains response data for the listNext operation. */
1022
+ export declare type SnapshotsListNextResponse = SnapshotResourceList;
1023
+ /** Optional parameters. */
1024
+ export interface SnapshotGetOptionalParams extends coreClient.OperationOptions {
1025
+ }
1026
+ /** Contains response data for the get operation. */
1027
+ export declare type SnapshotGetResponse = SnapshotResource;
1028
+ /** Optional parameters. */
1029
+ export interface SnapshotDownloadOptionalParams extends coreClient.OperationOptions {
1030
+ /** Delay to wait until next poll, in milliseconds. */
1031
+ updateIntervalInMs?: number;
1032
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1033
+ resumeFrom?: string;
1034
+ }
1035
+ /** Contains response data for the download operation. */
1036
+ export declare type SnapshotDownloadResponse = DownloadResponse;
1037
+ /** Optional parameters. */
1038
+ export interface AppComplianceAutomationToolForMicrosoft365OptionalParams extends coreClient.ServiceClientOptions {
1039
+ /** server parameter */
1040
+ $host?: string;
1041
+ /** Api Version */
1042
+ apiVersion?: string;
1043
+ /** Overrides client endpoint. */
1044
+ endpoint?: string;
1045
+ }
1046
+ //# sourceMappingURL=index.d.ts.map