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