@azure/arm-appcomplianceautomation 1.0.1-alpha.20250620.1 → 1.0.1-alpha.20250718.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.
@@ -1,1333 +1,1333 @@
1
- ## API Report File for "@azure/arm-appcomplianceautomation"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import * as coreAuth from '@azure/core-auth';
8
- import * as coreClient from '@azure/core-client';
9
- import { OperationState } from '@azure/core-lro';
10
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
11
- import { SimplePollerLike } from '@azure/core-lro';
12
-
13
- // @public
14
- export type ActionType = string;
15
-
16
- // @public (undocumented)
17
- export class AppComplianceAutomationToolForMicrosoft365 extends coreClient.ServiceClient {
18
- // (undocumented)
19
- $host: string;
20
- constructor(credentials: coreAuth.TokenCredential, options?: AppComplianceAutomationToolForMicrosoft365OptionalParams);
21
- // (undocumented)
22
- apiVersion: string;
23
- // (undocumented)
24
- evidence: Evidence;
25
- // (undocumented)
26
- operations: Operations;
27
- // (undocumented)
28
- providerActions: ProviderActions;
29
- // (undocumented)
30
- report: Report;
31
- // (undocumented)
32
- scopingConfiguration: ScopingConfiguration;
33
- // (undocumented)
34
- snapshot: Snapshot;
35
- // (undocumented)
36
- webhook: Webhook;
37
- }
38
-
39
- // @public
40
- export interface AppComplianceAutomationToolForMicrosoft365OptionalParams extends coreClient.ServiceClientOptions {
41
- $host?: string;
42
- apiVersion?: string;
43
- endpoint?: string;
44
- }
45
-
46
- // @public
47
- export interface Category {
48
- readonly categoryName?: string;
49
- readonly categoryStatus?: CategoryStatus;
50
- readonly controlFamilies?: ControlFamily[];
51
- }
52
-
53
- // @public
54
- export type CategoryStatus = string;
55
-
56
- // @public
57
- export interface CertSyncRecord {
58
- certificationStatus?: string;
59
- controls?: ControlSyncRecord[];
60
- ingestionStatus?: string;
61
- offerGuid?: string;
62
- }
63
-
64
- // @public
65
- export type CheckNameAvailabilityReason = string;
66
-
67
- // @public
68
- export interface CheckNameAvailabilityRequest {
69
- name?: string;
70
- type?: string;
71
- }
72
-
73
- // @public
74
- export interface CheckNameAvailabilityResponse {
75
- message?: string;
76
- nameAvailable?: boolean;
77
- reason?: CheckNameAvailabilityReason;
78
- }
79
-
80
- // @public
81
- export interface ComplianceReportItem {
82
- readonly categoryName?: string;
83
- readonly controlFamilyName?: string;
84
- readonly controlId?: string;
85
- readonly controlName?: string;
86
- readonly controlStatus?: ControlStatus;
87
- readonly resourceId?: string;
88
- readonly resourceOrigin?: ResourceOrigin;
89
- readonly resourceStatus?: ResourceStatus;
90
- readonly resourceStatusChangeDate?: Date;
91
- readonly resourceType?: string;
92
- readonly responsibilityDescription?: string;
93
- readonly responsibilityTitle?: string;
94
- }
95
-
96
- // @public
97
- export interface ComplianceResult {
98
- readonly categories?: Category[];
99
- readonly complianceName?: string;
100
- }
101
-
102
- // @public
103
- export type ContentType = string;
104
-
105
- // @public
106
- export interface Control {
107
- readonly controlDescription?: string;
108
- readonly controlDescriptionHyperLink?: string;
109
- readonly controlFullName?: string;
110
- readonly controlId?: string;
111
- readonly controlName?: string;
112
- readonly controlStatus?: ControlStatus;
113
- readonly responsibilities?: Responsibility[];
114
- }
115
-
116
- // @public
117
- export interface ControlFamily {
118
- readonly controlFamilyName?: string;
119
- readonly controlFamilyStatus?: ControlFamilyStatus;
120
- readonly controls?: Control[];
121
- }
122
-
123
- // @public
124
- export type ControlFamilyStatus = string;
125
-
126
- // @public
127
- export type ControlStatus = string;
128
-
129
- // @public
130
- export interface ControlSyncRecord {
131
- controlId?: string;
132
- controlStatus?: string;
133
- }
134
-
135
- // @public
136
- export type CreatedByType = string;
137
-
138
- // @public
139
- export type DeliveryStatus = string;
140
-
141
- // @public
142
- export interface DownloadResponse {
143
- readonly complianceDetailedPdfReport?: DownloadResponseComplianceDetailedPdfReport;
144
- readonly compliancePdfReport?: DownloadResponseCompliancePdfReport;
145
- readonly complianceReport?: ComplianceReportItem[];
146
- readonly resourceList?: ResourceItem[];
147
- }
148
-
149
- // @public
150
- export interface DownloadResponseComplianceDetailedPdfReport {
151
- readonly sasUri?: string;
152
- }
153
-
154
- // @public
155
- export interface DownloadResponseCompliancePdfReport {
156
- readonly sasUri?: string;
157
- }
158
-
159
- // @public
160
- export type DownloadType = string;
161
-
162
- // @public
163
- export type EnableSslVerification = string;
164
-
165
- // @public
166
- export interface ErrorAdditionalInfo {
167
- readonly info?: Record<string, unknown>;
168
- readonly type?: string;
169
- }
170
-
171
- // @public
172
- export interface ErrorDetail {
173
- readonly additionalInfo?: ErrorAdditionalInfo[];
174
- readonly code?: string;
175
- readonly details?: ErrorDetail[];
176
- readonly message?: string;
177
- readonly target?: string;
178
- }
179
-
180
- // @public
181
- export interface ErrorResponse {
182
- error?: ErrorDetail;
183
- }
184
-
185
- // @public
186
- export interface Evidence {
187
- createOrUpdate(reportName: string, evidenceName: string, properties: EvidenceResource, options?: EvidenceCreateOrUpdateOptionalParams): Promise<EvidenceCreateOrUpdateResponse>;
188
- delete(reportName: string, evidenceName: string, options?: EvidenceDeleteOptionalParams): Promise<void>;
189
- download(reportName: string, evidenceName: string, body: EvidenceFileDownloadRequest, options?: EvidenceDownloadOptionalParams): Promise<EvidenceDownloadResponse>;
190
- get(reportName: string, evidenceName: string, options?: EvidenceGetOptionalParams): Promise<EvidenceGetResponse>;
191
- listByReport(reportName: string, options?: EvidenceListByReportOptionalParams): PagedAsyncIterableIterator<EvidenceResource>;
192
- }
193
-
194
- // @public
195
- export interface EvidenceCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
196
- offerGuid?: string;
197
- reportCreatorTenantId?: string;
198
- }
199
-
200
- // @public
201
- export type EvidenceCreateOrUpdateResponse = EvidenceResource;
202
-
203
- // @public
204
- export interface EvidenceDeleteOptionalParams extends coreClient.OperationOptions {
205
- }
206
-
207
- // @public
208
- export interface EvidenceDownloadOptionalParams extends coreClient.OperationOptions {
209
- }
210
-
211
- // @public
212
- export type EvidenceDownloadResponse = EvidenceFileDownloadResponse;
213
-
214
- // @public
215
- export interface EvidenceFileDownloadRequest {
216
- offerGuid?: string;
217
- reportCreatorTenantId?: string;
218
- }
219
-
220
- // @public
221
- export interface EvidenceFileDownloadResponse {
222
- readonly evidenceFile?: EvidenceFileDownloadResponseEvidenceFile;
223
- }
224
-
225
- // @public
226
- export interface EvidenceFileDownloadResponseEvidenceFile {
227
- readonly url?: string;
228
- }
229
-
230
- // @public
231
- export interface EvidenceGetOptionalParams extends coreClient.OperationOptions {
232
- }
233
-
234
- // @public
235
- export type EvidenceGetResponse = EvidenceResource;
236
-
237
- // @public
238
- export interface EvidenceListByReportNextOptionalParams extends coreClient.OperationOptions {
239
- }
240
-
241
- // @public
242
- export type EvidenceListByReportNextResponse = EvidenceResourceListResult;
243
-
244
- // @public
245
- export interface EvidenceListByReportOptionalParams extends coreClient.OperationOptions {
246
- filter?: string;
247
- offerGuid?: string;
248
- orderby?: string;
249
- reportCreatorTenantId?: string;
250
- select?: string;
251
- skipToken?: string;
252
- top?: number;
253
- }
254
-
255
- // @public
256
- export type EvidenceListByReportResponse = EvidenceResourceListResult;
257
-
258
- // @public
259
- export interface EvidenceProperties {
260
- controlId?: string;
261
- evidenceType?: EvidenceType;
262
- extraData?: string;
263
- filePath: string;
264
- readonly provisioningState?: ProvisioningState;
265
- responsibilityId?: string;
266
- }
267
-
268
- // @public
269
- export interface EvidenceResource extends ProxyResource {
270
- properties: EvidenceProperties;
271
- }
272
-
273
- // @public
274
- export interface EvidenceResourceListResult {
275
- nextLink?: string;
276
- value: EvidenceResource[];
277
- }
278
-
279
- // @public
280
- export type EvidenceType = string;
281
-
282
- // @public
283
- export interface GetCollectionCountRequest {
284
- type?: string;
285
- }
286
-
287
- // @public
288
- export interface GetCollectionCountResponse {
289
- count?: number;
290
- }
291
-
292
- // @public
293
- export function getContinuationToken(page: unknown): string | undefined;
294
-
295
- // @public
296
- export interface GetOverviewStatusRequest {
297
- type?: string;
298
- }
299
-
300
- // @public
301
- export interface GetOverviewStatusResponse {
302
- statusList?: StatusItem[];
303
- }
304
-
305
- // @public
306
- export type InputType = string;
307
-
308
- // @public
309
- export type IsRecommendSolution = string;
310
-
311
- // @public
312
- export enum KnownActionType {
313
- Internal = "Internal"
314
- }
315
-
316
- // @public
317
- export enum KnownCategoryStatus {
318
- Failed = "Failed",
319
- NotApplicable = "NotApplicable",
320
- Passed = "Passed",
321
- PendingApproval = "PendingApproval"
322
- }
323
-
324
- // @public
325
- export enum KnownCheckNameAvailabilityReason {
326
- AlreadyExists = "AlreadyExists",
327
- Invalid = "Invalid"
328
- }
329
-
330
- // @public
331
- export enum KnownContentType {
332
- ApplicationJson = "application/json"
333
- }
334
-
335
- // @public
336
- export enum KnownControlFamilyStatus {
337
- Failed = "Failed",
338
- NotApplicable = "NotApplicable",
339
- Passed = "Passed",
340
- PendingApproval = "PendingApproval"
341
- }
342
-
343
- // @public
344
- export enum KnownControlStatus {
345
- Failed = "Failed",
346
- NotApplicable = "NotApplicable",
347
- Passed = "Passed",
348
- PendingApproval = "PendingApproval"
349
- }
350
-
351
- // @public
352
- export enum KnownCreatedByType {
353
- Application = "Application",
354
- Key = "Key",
355
- ManagedIdentity = "ManagedIdentity",
356
- User = "User"
357
- }
358
-
359
- // @public
360
- export enum KnownDeliveryStatus {
361
- Failed = "Failed",
362
- NotStarted = "NotStarted",
363
- Succeeded = "Succeeded"
364
- }
365
-
366
- // @public
367
- export enum KnownDownloadType {
368
- ComplianceDetailedPdfReport = "ComplianceDetailedPdfReport",
369
- CompliancePdfReport = "CompliancePdfReport",
370
- ComplianceReport = "ComplianceReport",
371
- ResourceList = "ResourceList"
372
- }
373
-
374
- // @public
375
- export enum KnownEnableSslVerification {
376
- False = "false",
377
- True = "true"
378
- }
379
-
380
- // @public
381
- export enum KnownEvidenceType {
382
- AutoCollectedEvidence = "AutoCollectedEvidence",
383
- Data = "Data",
384
- File = "File"
385
- }
386
-
387
- // @public
388
- export enum KnownInputType {
389
- Boolean = "Boolean",
390
- Date = "Date",
391
- Email = "Email",
392
- Group = "Group",
393
- MultilineText = "MultilineText",
394
- MultiSelectCheckbox = "MultiSelectCheckbox",
395
- MultiSelectDropdown = "MultiSelectDropdown",
396
- MultiSelectDropdownCustom = "MultiSelectDropdownCustom",
397
- None = "None",
398
- Number = "Number",
399
- SingleSelectDropdown = "SingleSelectDropdown",
400
- SingleSelection = "SingleSelection",
401
- Telephone = "Telephone",
402
- Text = "Text",
403
- Upload = "Upload",
404
- Url = "Url",
405
- YearPicker = "YearPicker",
406
- YesNoNa = "YesNoNa"
407
- }
408
-
409
- // @public
410
- export enum KnownIsRecommendSolution {
411
- False = "false",
412
- True = "true"
413
- }
414
-
415
- // @public
416
- export enum KnownNotificationEvent {
417
- AssessmentFailure = "assessment_failure",
418
- GenerateSnapshotFailed = "generate_snapshot_failed",
419
- GenerateSnapshotSuccess = "generate_snapshot_success",
420
- ReportConfigurationChanges = "report_configuration_changes",
421
- ReportDeletion = "report_deletion"
422
- }
423
-
424
- // @public
425
- export enum KnownOrigin {
426
- System = "system",
427
- User = "user",
428
- UserSystem = "user,system"
429
- }
430
-
431
- // @public
432
- export enum KnownProvisioningState {
433
- Canceled = "Canceled",
434
- Creating = "Creating",
435
- Deleting = "Deleting",
436
- Failed = "Failed",
437
- Fixing = "Fixing",
438
- Succeeded = "Succeeded",
439
- Updating = "Updating",
440
- Verifying = "Verifying"
441
- }
442
-
443
- // @public
444
- export enum KnownReportStatus {
445
- Active = "Active",
446
- Disabled = "Disabled",
447
- Failed = "Failed",
448
- Reviewing = "Reviewing"
449
- }
450
-
451
- // @public
452
- export enum KnownResourceOrigin {
453
- AWS = "AWS",
454
- Azure = "Azure",
455
- GCP = "GCP"
456
- }
457
-
458
- // @public
459
- export enum KnownResourceStatus {
460
- Healthy = "Healthy",
461
- Unhealthy = "Unhealthy"
462
- }
463
-
464
- // @public
465
- export enum KnownResponsibilityEnvironment {
466
- AWS = "AWS",
467
- Azure = "Azure",
468
- GCP = "GCP",
469
- General = "General"
470
- }
471
-
472
- // @public
473
- export enum KnownResponsibilitySeverity {
474
- High = "High",
475
- Low = "Low",
476
- Medium = "Medium"
477
- }
478
-
479
- // @public
480
- export enum KnownResponsibilityStatus {
481
- Failed = "Failed",
482
- NotApplicable = "NotApplicable",
483
- Passed = "Passed",
484
- PendingApproval = "PendingApproval"
485
- }
486
-
487
- // @public
488
- export enum KnownResponsibilityType {
489
- Automated = "Automated",
490
- Manual = "Manual",
491
- ScopedManual = "ScopedManual"
492
- }
493
-
494
- // @public
495
- export enum KnownResult {
496
- Failed = "Failed",
497
- Succeeded = "Succeeded"
498
- }
499
-
500
- // @public
501
- export enum KnownRule {
502
- AzureApplication = "AzureApplication",
503
- CharLength = "CharLength",
504
- CreditCardPCI = "CreditCardPCI",
505
- Domains = "Domains",
506
- DynamicDropdown = "DynamicDropdown",
507
- PreventNonEnglishChar = "PreventNonEnglishChar",
508
- PublicSOX = "PublicSOX",
509
- PublisherVerification = "PublisherVerification",
510
- Required = "Required",
511
- Url = "Url",
512
- Urls = "Urls",
513
- USPrivacyShield = "USPrivacyShield",
514
- ValidEmail = "ValidEmail",
515
- ValidGuid = "ValidGuid"
516
- }
517
-
518
- // @public
519
- export enum KnownSendAllEvents {
520
- False = "false",
521
- True = "true"
522
- }
523
-
524
- // @public
525
- export enum KnownUpdateWebhookKey {
526
- False = "false",
527
- True = "true"
528
- }
529
-
530
- // @public
531
- export enum KnownWebhookKeyEnabled {
532
- False = "false",
533
- True = "true"
534
- }
535
-
536
- // @public
537
- export enum KnownWebhookStatus {
538
- Disabled = "Disabled",
539
- Enabled = "Enabled"
540
- }
541
-
542
- // @public
543
- export interface ListInUseStorageAccountsRequest {
544
- subscriptionIds?: string[];
545
- }
546
-
547
- // @public
548
- export interface ListInUseStorageAccountsResponse {
549
- storageAccountList?: StorageInfo[];
550
- }
551
-
552
- // @public
553
- export type NotificationEvent = string;
554
-
555
- // @public
556
- export interface OnboardRequest {
557
- subscriptionIds: string[];
558
- }
559
-
560
- // @public
561
- export interface OnboardResponse {
562
- subscriptionIds?: string[];
563
- }
564
-
565
- // @public
566
- export interface Operation {
567
- readonly actionType?: ActionType;
568
- display?: OperationDisplay;
569
- readonly isDataAction?: boolean;
570
- readonly name?: string;
571
- readonly origin?: Origin;
572
- }
573
-
574
- // @public
575
- export interface OperationDisplay {
576
- readonly description?: string;
577
- readonly operation?: string;
578
- readonly provider?: string;
579
- readonly resource?: string;
580
- }
581
-
582
- // @public
583
- export interface OperationListResult {
584
- readonly nextLink?: string;
585
- readonly value?: Operation[];
586
- }
587
-
588
- // @public
589
- export interface Operations {
590
- list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
591
- }
592
-
593
- // @public
594
- export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
595
- }
596
-
597
- // @public
598
- export type OperationsListNextResponse = OperationListResult;
599
-
600
- // @public
601
- export interface OperationsListOptionalParams extends coreClient.OperationOptions {
602
- }
603
-
604
- // @public
605
- export type OperationsListResponse = OperationListResult;
606
-
607
- // @public
608
- export type Origin = string;
609
-
610
- // @public
611
- export interface OverviewStatus {
612
- readonly failedCount?: number;
613
- readonly manualCount?: number;
614
- readonly notApplicableCount?: number;
615
- readonly passedCount?: number;
616
- readonly pendingCount?: number;
617
- }
618
-
619
- // @public
620
- export interface ProviderActions {
621
- beginOnboard(body: OnboardRequest, options?: ProviderActionsOnboardOptionalParams): Promise<SimplePollerLike<OperationState<ProviderActionsOnboardResponse>, ProviderActionsOnboardResponse>>;
622
- beginOnboardAndWait(body: OnboardRequest, options?: ProviderActionsOnboardOptionalParams): Promise<ProviderActionsOnboardResponse>;
623
- beginTriggerEvaluation(body: TriggerEvaluationRequest, options?: ProviderActionsTriggerEvaluationOptionalParams): Promise<SimplePollerLike<OperationState<ProviderActionsTriggerEvaluationResponse>, ProviderActionsTriggerEvaluationResponse>>;
624
- beginTriggerEvaluationAndWait(body: TriggerEvaluationRequest, options?: ProviderActionsTriggerEvaluationOptionalParams): Promise<ProviderActionsTriggerEvaluationResponse>;
625
- checkNameAvailability(body: CheckNameAvailabilityRequest, options?: ProviderActionsCheckNameAvailabilityOptionalParams): Promise<ProviderActionsCheckNameAvailabilityResponse>;
626
- getCollectionCount(body: GetCollectionCountRequest, options?: ProviderActionsGetCollectionCountOptionalParams): Promise<ProviderActionsGetCollectionCountResponse>;
627
- getOverviewStatus(body: GetOverviewStatusRequest, options?: ProviderActionsGetOverviewStatusOptionalParams): Promise<ProviderActionsGetOverviewStatusResponse>;
628
- listInUseStorageAccounts(body: ListInUseStorageAccountsRequest, options?: ProviderActionsListInUseStorageAccountsOptionalParams): Promise<ProviderActionsListInUseStorageAccountsResponse>;
629
- }
630
-
631
- // @public
632
- export interface ProviderActionsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
633
- }
634
-
635
- // @public
636
- export type ProviderActionsCheckNameAvailabilityResponse = CheckNameAvailabilityResponse;
637
-
638
- // @public
639
- export interface ProviderActionsGetCollectionCountOptionalParams extends coreClient.OperationOptions {
640
- }
641
-
642
- // @public
643
- export type ProviderActionsGetCollectionCountResponse = GetCollectionCountResponse;
644
-
645
- // @public
646
- export interface ProviderActionsGetOverviewStatusOptionalParams extends coreClient.OperationOptions {
647
- }
648
-
649
- // @public
650
- export type ProviderActionsGetOverviewStatusResponse = GetOverviewStatusResponse;
651
-
652
- // @public
653
- export interface ProviderActionsListInUseStorageAccountsOptionalParams extends coreClient.OperationOptions {
654
- }
655
-
656
- // @public
657
- export type ProviderActionsListInUseStorageAccountsResponse = ListInUseStorageAccountsResponse;
658
-
659
- // @public
660
- export interface ProviderActionsOnboardHeaders {
661
- location?: string;
662
- retryAfter?: number;
663
- }
664
-
665
- // @public
666
- export interface ProviderActionsOnboardOptionalParams extends coreClient.OperationOptions {
667
- resumeFrom?: string;
668
- updateIntervalInMs?: number;
669
- }
670
-
671
- // @public
672
- export type ProviderActionsOnboardResponse = OnboardResponse;
673
-
674
- // @public
675
- export interface ProviderActionsTriggerEvaluationHeaders {
676
- location?: string;
677
- retryAfter?: number;
678
- }
679
-
680
- // @public
681
- export interface ProviderActionsTriggerEvaluationOptionalParams extends coreClient.OperationOptions {
682
- resumeFrom?: string;
683
- updateIntervalInMs?: number;
684
- }
685
-
686
- // @public
687
- export type ProviderActionsTriggerEvaluationResponse = TriggerEvaluationResponse;
688
-
689
- // @public
690
- export type ProvisioningState = string;
691
-
692
- // @public
693
- export interface ProxyResource extends Resource {
694
- }
695
-
696
- // @public
697
- export interface QuickAssessment {
698
- readonly description?: string;
699
- readonly displayName?: string;
700
- readonly remediationLink?: string;
701
- readonly resourceId?: string;
702
- readonly resourceStatus?: ResourceStatus;
703
- readonly responsibilityId?: string;
704
- readonly timestamp?: Date;
705
- }
706
-
707
- // @public
708
- export interface Recommendation {
709
- readonly recommendationId?: string;
710
- readonly recommendationShortName?: string;
711
- readonly recommendationSolutions?: RecommendationSolution[];
712
- }
713
-
714
- // @public
715
- export interface RecommendationSolution {
716
- readonly isRecommendSolution?: IsRecommendSolution;
717
- readonly recommendationSolutionContent?: string;
718
- readonly recommendationSolutionIndex?: string;
719
- }
720
-
721
- // @public
722
- export interface Report {
723
- beginCreateOrUpdate(reportName: string, properties: ReportResource, options?: ReportCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ReportCreateOrUpdateResponse>, ReportCreateOrUpdateResponse>>;
724
- beginCreateOrUpdateAndWait(reportName: string, properties: ReportResource, options?: ReportCreateOrUpdateOptionalParams): Promise<ReportCreateOrUpdateResponse>;
725
- beginDelete(reportName: string, options?: ReportDeleteOptionalParams): Promise<SimplePollerLike<OperationState<ReportDeleteResponse>, ReportDeleteResponse>>;
726
- beginDeleteAndWait(reportName: string, options?: ReportDeleteOptionalParams): Promise<ReportDeleteResponse>;
727
- beginFix(reportName: string, options?: ReportFixOptionalParams): Promise<SimplePollerLike<OperationState<ReportFixResponse>, ReportFixResponse>>;
728
- beginFixAndWait(reportName: string, options?: ReportFixOptionalParams): Promise<ReportFixResponse>;
729
- beginSyncCertRecord(reportName: string, body: SyncCertRecordRequest, options?: ReportSyncCertRecordOptionalParams): Promise<SimplePollerLike<OperationState<ReportSyncCertRecordResponse>, ReportSyncCertRecordResponse>>;
730
- beginSyncCertRecordAndWait(reportName: string, body: SyncCertRecordRequest, options?: ReportSyncCertRecordOptionalParams): Promise<ReportSyncCertRecordResponse>;
731
- beginUpdate(reportName: string, properties: ReportResourcePatch, options?: ReportUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ReportUpdateResponse>, ReportUpdateResponse>>;
732
- beginUpdateAndWait(reportName: string, properties: ReportResourcePatch, options?: ReportUpdateOptionalParams): Promise<ReportUpdateResponse>;
733
- beginVerify(reportName: string, options?: ReportVerifyOptionalParams): Promise<SimplePollerLike<OperationState<ReportVerifyResponse>, ReportVerifyResponse>>;
734
- beginVerifyAndWait(reportName: string, options?: ReportVerifyOptionalParams): Promise<ReportVerifyResponse>;
735
- get(reportName: string, options?: ReportGetOptionalParams): Promise<ReportGetResponse>;
736
- getScopingQuestions(reportName: string, options?: ReportGetScopingQuestionsOptionalParams): Promise<ReportGetScopingQuestionsResponse>;
737
- list(options?: ReportListOptionalParams): PagedAsyncIterableIterator<ReportResource>;
738
- nestedResourceCheckNameAvailability(reportName: string, body: CheckNameAvailabilityRequest, options?: ReportNestedResourceCheckNameAvailabilityOptionalParams): Promise<ReportNestedResourceCheckNameAvailabilityResponse>;
739
- }
740
-
741
- // @public
742
- export interface ReportComplianceStatus {
743
- readonly m365?: OverviewStatus;
744
- }
745
-
746
- // @public
747
- export interface ReportCreateOrUpdateHeaders {
748
- retryAfter?: number;
749
- }
750
-
751
- // @public
752
- export interface ReportCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
753
- resumeFrom?: string;
754
- updateIntervalInMs?: number;
755
- }
756
-
757
- // @public
758
- export type ReportCreateOrUpdateResponse = ReportResource;
759
-
760
- // @public
761
- export interface ReportDeleteHeaders {
762
- location?: string;
763
- retryAfter?: number;
764
- }
765
-
766
- // @public
767
- export interface ReportDeleteOptionalParams extends coreClient.OperationOptions {
768
- resumeFrom?: string;
769
- updateIntervalInMs?: number;
770
- }
771
-
772
- // @public
773
- export type ReportDeleteResponse = ReportDeleteHeaders;
774
-
775
- // @public
776
- export interface ReportFixHeaders {
777
- location?: string;
778
- retryAfter?: number;
779
- }
780
-
781
- // @public
782
- export interface ReportFixOptionalParams extends coreClient.OperationOptions {
783
- resumeFrom?: string;
784
- updateIntervalInMs?: number;
785
- }
786
-
787
- // @public
788
- export type ReportFixResponse = ReportFixResult;
789
-
790
- // @public
791
- export interface ReportFixResult {
792
- readonly reason?: string;
793
- readonly result?: Result;
794
- }
795
-
796
- // @public
797
- export interface ReportGetOptionalParams extends coreClient.OperationOptions {
798
- }
799
-
800
- // @public
801
- export type ReportGetResponse = ReportResource;
802
-
803
- // @public
804
- export interface ReportGetScopingQuestionsOptionalParams extends coreClient.OperationOptions {
805
- }
806
-
807
- // @public
808
- export type ReportGetScopingQuestionsResponse = ScopingQuestions;
809
-
810
- // @public
811
- export interface ReportListNextOptionalParams extends coreClient.OperationOptions {
812
- }
813
-
814
- // @public
815
- export type ReportListNextResponse = ReportResourceListResult;
816
-
817
- // @public
818
- export interface ReportListOptionalParams extends coreClient.OperationOptions {
819
- filter?: string;
820
- offerGuid?: string;
821
- orderby?: string;
822
- reportCreatorTenantId?: string;
823
- select?: string;
824
- skipToken?: string;
825
- top?: number;
826
- }
827
-
828
- // @public
829
- export type ReportListResponse = ReportResourceListResult;
830
-
831
- // @public
832
- export interface ReportNestedResourceCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
833
- }
834
-
835
- // @public
836
- export type ReportNestedResourceCheckNameAvailabilityResponse = CheckNameAvailabilityResponse;
837
-
838
- // @public
839
- export interface ReportPatchProperties {
840
- readonly certRecords?: CertSyncRecord[];
841
- readonly complianceStatus?: ReportComplianceStatus;
842
- readonly errors?: string[];
843
- readonly lastTriggerTime?: Date;
844
- readonly nextTriggerTime?: Date;
845
- offerGuid?: string;
846
- readonly provisioningState?: ProvisioningState;
847
- resources?: ResourceMetadata[];
848
- readonly status?: ReportStatus;
849
- storageInfo?: StorageInfo;
850
- readonly subscriptions?: string[];
851
- readonly tenantId?: string;
852
- timeZone?: string;
853
- triggerTime?: Date;
854
- }
855
-
856
- // @public
857
- export interface ReportProperties {
858
- readonly certRecords?: CertSyncRecord[];
859
- readonly complianceStatus?: ReportComplianceStatus;
860
- readonly errors?: string[];
861
- readonly lastTriggerTime?: Date;
862
- readonly nextTriggerTime?: Date;
863
- offerGuid?: string;
864
- readonly provisioningState?: ProvisioningState;
865
- resources: ResourceMetadata[];
866
- readonly status?: ReportStatus;
867
- storageInfo?: StorageInfo;
868
- readonly subscriptions?: string[];
869
- readonly tenantId?: string;
870
- timeZone: string;
871
- triggerTime: Date;
872
- }
873
-
874
- // @public
875
- export interface ReportResource extends ProxyResource {
876
- properties: ReportProperties;
877
- }
878
-
879
- // @public
880
- export interface ReportResourceListResult {
881
- nextLink?: string;
882
- value: ReportResource[];
883
- }
884
-
885
- // @public
886
- export interface ReportResourcePatch {
887
- properties?: ReportPatchProperties;
888
- }
889
-
890
- // @public
891
- export type ReportStatus = string;
892
-
893
- // @public
894
- export interface ReportSyncCertRecordHeaders {
895
- location?: string;
896
- retryAfter?: number;
897
- }
898
-
899
- // @public
900
- export interface ReportSyncCertRecordOptionalParams extends coreClient.OperationOptions {
901
- resumeFrom?: string;
902
- updateIntervalInMs?: number;
903
- }
904
-
905
- // @public
906
- export type ReportSyncCertRecordResponse = SyncCertRecordResponse;
907
-
908
- // @public
909
- export interface ReportUpdateHeaders {
910
- location?: string;
911
- retryAfter?: number;
912
- }
913
-
914
- // @public
915
- export interface ReportUpdateOptionalParams extends coreClient.OperationOptions {
916
- resumeFrom?: string;
917
- updateIntervalInMs?: number;
918
- }
919
-
920
- // @public
921
- export type ReportUpdateResponse = ReportResource;
922
-
923
- // @public
924
- export interface ReportVerificationResult {
925
- readonly reason?: string;
926
- readonly result?: Result;
927
- }
928
-
929
- // @public
930
- export interface ReportVerifyHeaders {
931
- location?: string;
932
- retryAfter?: number;
933
- }
934
-
935
- // @public
936
- export interface ReportVerifyOptionalParams extends coreClient.OperationOptions {
937
- resumeFrom?: string;
938
- updateIntervalInMs?: number;
939
- }
940
-
941
- // @public
942
- export type ReportVerifyResponse = ReportVerificationResult;
943
-
944
- // @public
945
- export interface Resource {
946
- readonly id?: string;
947
- readonly name?: string;
948
- readonly systemData?: SystemData;
949
- readonly type?: string;
950
- }
951
-
952
- // @public
953
- export interface ResourceItem {
954
- readonly resourceGroup?: string;
955
- readonly resourceId?: string;
956
- readonly resourceType?: string;
957
- readonly subscriptionId?: string;
958
- }
959
-
960
- // @public
961
- export interface ResourceMetadata {
962
- accountId?: string;
963
- resourceId: string;
964
- resourceKind?: string;
965
- resourceOrigin?: ResourceOrigin;
966
- resourceType?: string;
967
- }
968
-
969
- // @public
970
- export type ResourceOrigin = string;
971
-
972
- // @public
973
- export type ResourceStatus = string;
974
-
975
- // @public
976
- export interface Responsibility {
977
- evidenceFiles?: string[];
978
- failedResourceCount?: number;
979
- readonly guidance?: string;
980
- readonly justification?: string;
981
- readonly recommendationList?: Recommendation[];
982
- readonly resourceList?: ResponsibilityResource[];
983
- readonly responsibilityDescription?: string;
984
- readonly responsibilityEnvironment?: ResponsibilityEnvironment;
985
- readonly responsibilityId?: string;
986
- readonly responsibilitySeverity?: ResponsibilitySeverity;
987
- readonly responsibilityStatus?: ResponsibilityStatus;
988
- readonly responsibilityTitle?: string;
989
- readonly responsibilityType?: ResponsibilityType;
990
- totalResourceCount?: number;
991
- }
992
-
993
- // @public
994
- export type ResponsibilityEnvironment = string;
995
-
996
- // @public
997
- export interface ResponsibilityResource {
998
- readonly accountId?: string;
999
- recommendationIds?: string[];
1000
- readonly resourceId?: string;
1001
- readonly resourceOrigin?: ResourceOrigin;
1002
- readonly resourceStatus?: ResourceStatus;
1003
- readonly resourceStatusChangeDate?: Date;
1004
- readonly resourceType?: string;
1005
- }
1006
-
1007
- // @public
1008
- export type ResponsibilitySeverity = string;
1009
-
1010
- // @public
1011
- export type ResponsibilityStatus = string;
1012
-
1013
- // @public
1014
- export type ResponsibilityType = string;
1015
-
1016
- // @public
1017
- export type Result = string;
1018
-
1019
- // @public
1020
- export type Rule = string;
1021
-
1022
- // @public
1023
- export interface ScopingAnswer {
1024
- answers: string[];
1025
- questionId: string;
1026
- }
1027
-
1028
- // @public
1029
- export interface ScopingConfiguration {
1030
- createOrUpdate(reportName: string, scopingConfigurationName: string, properties: ScopingConfigurationResource, options?: ScopingConfigurationCreateOrUpdateOptionalParams): Promise<ScopingConfigurationCreateOrUpdateResponse>;
1031
- delete(reportName: string, scopingConfigurationName: string, options?: ScopingConfigurationDeleteOptionalParams): Promise<void>;
1032
- get(reportName: string, scopingConfigurationName: string, options?: ScopingConfigurationGetOptionalParams): Promise<ScopingConfigurationGetResponse>;
1033
- list(reportName: string, options?: ScopingConfigurationListOptionalParams): PagedAsyncIterableIterator<ScopingConfigurationResource>;
1034
- }
1035
-
1036
- // @public
1037
- export interface ScopingConfigurationCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1038
- }
1039
-
1040
- // @public
1041
- export type ScopingConfigurationCreateOrUpdateResponse = ScopingConfigurationResource;
1042
-
1043
- // @public
1044
- export interface ScopingConfigurationDeleteOptionalParams extends coreClient.OperationOptions {
1045
- }
1046
-
1047
- // @public
1048
- export interface ScopingConfigurationGetOptionalParams extends coreClient.OperationOptions {
1049
- }
1050
-
1051
- // @public
1052
- export type ScopingConfigurationGetResponse = ScopingConfigurationResource;
1053
-
1054
- // @public
1055
- export interface ScopingConfigurationListNextOptionalParams extends coreClient.OperationOptions {
1056
- }
1057
-
1058
- // @public
1059
- export type ScopingConfigurationListNextResponse = ScopingConfigurationResourceListResult;
1060
-
1061
- // @public
1062
- export interface ScopingConfigurationListOptionalParams extends coreClient.OperationOptions {
1063
- }
1064
-
1065
- // @public
1066
- export type ScopingConfigurationListResponse = ScopingConfigurationResourceListResult;
1067
-
1068
- // @public
1069
- export interface ScopingConfigurationProperties {
1070
- answers?: ScopingAnswer[];
1071
- readonly provisioningState?: ProvisioningState;
1072
- }
1073
-
1074
- // @public
1075
- export interface ScopingConfigurationResource extends ProxyResource {
1076
- properties: ScopingConfigurationProperties;
1077
- }
1078
-
1079
- // @public
1080
- export interface ScopingConfigurationResourceListResult {
1081
- nextLink?: string;
1082
- value: ScopingConfigurationResource[];
1083
- }
1084
-
1085
- // @public
1086
- export interface ScopingQuestion {
1087
- readonly inputType: InputType;
1088
- readonly optionIds: string[];
1089
- readonly questionId: string;
1090
- readonly rules: Rule[];
1091
- readonly showSubQuestionsValue?: string;
1092
- readonly superiorQuestionId?: string;
1093
- }
1094
-
1095
- // @public
1096
- export interface ScopingQuestions {
1097
- questions?: ScopingQuestion[];
1098
- }
1099
-
1100
- // @public
1101
- export type SendAllEvents = string;
1102
-
1103
- // @public
1104
- export interface Snapshot {
1105
- beginDownload(reportName: string, snapshotName: string, body: SnapshotDownloadRequest, options?: SnapshotDownloadOptionalParams): Promise<SimplePollerLike<OperationState<SnapshotDownloadResponse>, SnapshotDownloadResponse>>;
1106
- beginDownloadAndWait(reportName: string, snapshotName: string, body: SnapshotDownloadRequest, options?: SnapshotDownloadOptionalParams): Promise<SnapshotDownloadResponse>;
1107
- get(reportName: string, snapshotName: string, options?: SnapshotGetOptionalParams): Promise<SnapshotGetResponse>;
1108
- list(reportName: string, options?: SnapshotListOptionalParams): PagedAsyncIterableIterator<SnapshotResource>;
1109
- }
1110
-
1111
- // @public
1112
- export interface SnapshotDownloadHeaders {
1113
- location?: string;
1114
- retryAfter?: number;
1115
- }
1116
-
1117
- // @public
1118
- export interface SnapshotDownloadOptionalParams extends coreClient.OperationOptions {
1119
- resumeFrom?: string;
1120
- updateIntervalInMs?: number;
1121
- }
1122
-
1123
- // @public
1124
- export interface SnapshotDownloadRequest {
1125
- downloadType: DownloadType;
1126
- offerGuid?: string;
1127
- reportCreatorTenantId?: string;
1128
- }
1129
-
1130
- // @public
1131
- export type SnapshotDownloadResponse = DownloadResponse;
1132
-
1133
- // @public
1134
- export interface SnapshotGetOptionalParams extends coreClient.OperationOptions {
1135
- }
1136
-
1137
- // @public
1138
- export type SnapshotGetResponse = SnapshotResource;
1139
-
1140
- // @public
1141
- export interface SnapshotListNextOptionalParams extends coreClient.OperationOptions {
1142
- }
1143
-
1144
- // @public
1145
- export type SnapshotListNextResponse = SnapshotResourceListResult;
1146
-
1147
- // @public
1148
- export interface SnapshotListOptionalParams extends coreClient.OperationOptions {
1149
- filter?: string;
1150
- offerGuid?: string;
1151
- orderby?: string;
1152
- reportCreatorTenantId?: string;
1153
- select?: string;
1154
- skipToken?: string;
1155
- top?: number;
1156
- }
1157
-
1158
- // @public
1159
- export type SnapshotListResponse = SnapshotResourceListResult;
1160
-
1161
- // @public
1162
- export interface SnapshotProperties {
1163
- readonly complianceResults?: ComplianceResult[];
1164
- readonly createdAt?: Date;
1165
- readonly provisioningState?: ProvisioningState;
1166
- readonly reportProperties?: ReportProperties;
1167
- readonly reportSystemData?: SystemData;
1168
- readonly snapshotName?: string;
1169
- }
1170
-
1171
- // @public
1172
- export interface SnapshotResource extends ProxyResource {
1173
- properties?: SnapshotProperties;
1174
- }
1175
-
1176
- // @public
1177
- export interface SnapshotResourceListResult {
1178
- nextLink?: string;
1179
- value: SnapshotResource[];
1180
- }
1181
-
1182
- // @public
1183
- export interface StatusItem {
1184
- statusName?: string;
1185
- statusValue?: string;
1186
- }
1187
-
1188
- // @public
1189
- export interface StorageInfo {
1190
- accountName?: string;
1191
- location?: string;
1192
- resourceGroup?: string;
1193
- subscriptionId?: string;
1194
- }
1195
-
1196
- // @public
1197
- export interface SyncCertRecordRequest {
1198
- certRecord: CertSyncRecord;
1199
- }
1200
-
1201
- // @public
1202
- export interface SyncCertRecordResponse {
1203
- certRecord?: CertSyncRecord;
1204
- }
1205
-
1206
- // @public
1207
- export interface SystemData {
1208
- createdAt?: Date;
1209
- createdBy?: string;
1210
- createdByType?: CreatedByType;
1211
- lastModifiedAt?: Date;
1212
- lastModifiedBy?: string;
1213
- lastModifiedByType?: CreatedByType;
1214
- }
1215
-
1216
- // @public
1217
- export interface TriggerEvaluationProperty {
1218
- readonly evaluationEndTime?: Date;
1219
- quickAssessments?: QuickAssessment[];
1220
- resourceIds?: string[];
1221
- readonly triggerTime?: Date;
1222
- }
1223
-
1224
- // @public
1225
- export interface TriggerEvaluationRequest {
1226
- resourceIds: string[];
1227
- }
1228
-
1229
- // @public
1230
- export interface TriggerEvaluationResponse {
1231
- properties?: TriggerEvaluationProperty;
1232
- }
1233
-
1234
- // @public
1235
- export type UpdateWebhookKey = string;
1236
-
1237
- // @public
1238
- export interface Webhook {
1239
- createOrUpdate(reportName: string, webhookName: string, properties: WebhookResource, options?: WebhookCreateOrUpdateOptionalParams): Promise<WebhookCreateOrUpdateResponse>;
1240
- delete(reportName: string, webhookName: string, options?: WebhookDeleteOptionalParams): Promise<void>;
1241
- get(reportName: string, webhookName: string, options?: WebhookGetOptionalParams): Promise<WebhookGetResponse>;
1242
- list(reportName: string, options?: WebhookListOptionalParams): PagedAsyncIterableIterator<WebhookResource>;
1243
- update(reportName: string, webhookName: string, properties: WebhookResourcePatch, options?: WebhookUpdateOptionalParams): Promise<WebhookUpdateResponse>;
1244
- }
1245
-
1246
- // @public
1247
- export interface WebhookCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1248
- }
1249
-
1250
- // @public
1251
- export type WebhookCreateOrUpdateResponse = WebhookResource;
1252
-
1253
- // @public
1254
- export interface WebhookDeleteOptionalParams extends coreClient.OperationOptions {
1255
- }
1256
-
1257
- // @public
1258
- export interface WebhookGetOptionalParams extends coreClient.OperationOptions {
1259
- }
1260
-
1261
- // @public
1262
- export type WebhookGetResponse = WebhookResource;
1263
-
1264
- // @public
1265
- export type WebhookKeyEnabled = string;
1266
-
1267
- // @public
1268
- export interface WebhookListNextOptionalParams extends coreClient.OperationOptions {
1269
- }
1270
-
1271
- // @public
1272
- export type WebhookListNextResponse = WebhookResourceListResult;
1273
-
1274
- // @public
1275
- export interface WebhookListOptionalParams extends coreClient.OperationOptions {
1276
- filter?: string;
1277
- offerGuid?: string;
1278
- orderby?: string;
1279
- reportCreatorTenantId?: string;
1280
- select?: string;
1281
- skipToken?: string;
1282
- top?: number;
1283
- }
1284
-
1285
- // @public
1286
- export type WebhookListResponse = WebhookResourceListResult;
1287
-
1288
- // @public
1289
- export interface WebhookProperties {
1290
- contentType?: ContentType;
1291
- readonly deliveryStatus?: DeliveryStatus;
1292
- enableSslVerification?: EnableSslVerification;
1293
- events?: NotificationEvent[];
1294
- payloadUrl?: string;
1295
- readonly provisioningState?: ProvisioningState;
1296
- sendAllEvents?: SendAllEvents;
1297
- status?: WebhookStatus;
1298
- readonly tenantId?: string;
1299
- updateWebhookKey?: UpdateWebhookKey;
1300
- readonly webhookId?: string;
1301
- webhookKey?: string;
1302
- readonly webhookKeyEnabled?: WebhookKeyEnabled;
1303
- }
1304
-
1305
- // @public
1306
- export interface WebhookResource extends ProxyResource {
1307
- properties: WebhookProperties;
1308
- }
1309
-
1310
- // @public
1311
- export interface WebhookResourceListResult {
1312
- nextLink?: string;
1313
- value: WebhookResource[];
1314
- }
1315
-
1316
- // @public
1317
- export interface WebhookResourcePatch {
1318
- properties?: WebhookProperties;
1319
- }
1320
-
1321
- // @public
1322
- export type WebhookStatus = string;
1323
-
1324
- // @public
1325
- export interface WebhookUpdateOptionalParams extends coreClient.OperationOptions {
1326
- }
1327
-
1328
- // @public
1329
- export type WebhookUpdateResponse = WebhookResource;
1330
-
1331
- // (No @packageDocumentation comment for this package)
1332
-
1333
- ```
1
+ ## API Report File for "@azure/arm-appcomplianceautomation"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import * as coreAuth from '@azure/core-auth';
8
+ import * as coreClient from '@azure/core-client';
9
+ import { OperationState } from '@azure/core-lro';
10
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
11
+ import { SimplePollerLike } from '@azure/core-lro';
12
+
13
+ // @public
14
+ export type ActionType = string;
15
+
16
+ // @public (undocumented)
17
+ export class AppComplianceAutomationToolForMicrosoft365 extends coreClient.ServiceClient {
18
+ // (undocumented)
19
+ $host: string;
20
+ constructor(credentials: coreAuth.TokenCredential, options?: AppComplianceAutomationToolForMicrosoft365OptionalParams);
21
+ // (undocumented)
22
+ apiVersion: string;
23
+ // (undocumented)
24
+ evidence: Evidence;
25
+ // (undocumented)
26
+ operations: Operations;
27
+ // (undocumented)
28
+ providerActions: ProviderActions;
29
+ // (undocumented)
30
+ report: Report;
31
+ // (undocumented)
32
+ scopingConfiguration: ScopingConfiguration;
33
+ // (undocumented)
34
+ snapshot: Snapshot;
35
+ // (undocumented)
36
+ webhook: Webhook;
37
+ }
38
+
39
+ // @public
40
+ export interface AppComplianceAutomationToolForMicrosoft365OptionalParams extends coreClient.ServiceClientOptions {
41
+ $host?: string;
42
+ apiVersion?: string;
43
+ endpoint?: string;
44
+ }
45
+
46
+ // @public
47
+ export interface Category {
48
+ readonly categoryName?: string;
49
+ readonly categoryStatus?: CategoryStatus;
50
+ readonly controlFamilies?: ControlFamily[];
51
+ }
52
+
53
+ // @public
54
+ export type CategoryStatus = string;
55
+
56
+ // @public
57
+ export interface CertSyncRecord {
58
+ certificationStatus?: string;
59
+ controls?: ControlSyncRecord[];
60
+ ingestionStatus?: string;
61
+ offerGuid?: string;
62
+ }
63
+
64
+ // @public
65
+ export type CheckNameAvailabilityReason = string;
66
+
67
+ // @public
68
+ export interface CheckNameAvailabilityRequest {
69
+ name?: string;
70
+ type?: string;
71
+ }
72
+
73
+ // @public
74
+ export interface CheckNameAvailabilityResponse {
75
+ message?: string;
76
+ nameAvailable?: boolean;
77
+ reason?: CheckNameAvailabilityReason;
78
+ }
79
+
80
+ // @public
81
+ export interface ComplianceReportItem {
82
+ readonly categoryName?: string;
83
+ readonly controlFamilyName?: string;
84
+ readonly controlId?: string;
85
+ readonly controlName?: string;
86
+ readonly controlStatus?: ControlStatus;
87
+ readonly resourceId?: string;
88
+ readonly resourceOrigin?: ResourceOrigin;
89
+ readonly resourceStatus?: ResourceStatus;
90
+ readonly resourceStatusChangeDate?: Date;
91
+ readonly resourceType?: string;
92
+ readonly responsibilityDescription?: string;
93
+ readonly responsibilityTitle?: string;
94
+ }
95
+
96
+ // @public
97
+ export interface ComplianceResult {
98
+ readonly categories?: Category[];
99
+ readonly complianceName?: string;
100
+ }
101
+
102
+ // @public
103
+ export type ContentType = string;
104
+
105
+ // @public
106
+ export interface Control {
107
+ readonly controlDescription?: string;
108
+ readonly controlDescriptionHyperLink?: string;
109
+ readonly controlFullName?: string;
110
+ readonly controlId?: string;
111
+ readonly controlName?: string;
112
+ readonly controlStatus?: ControlStatus;
113
+ readonly responsibilities?: Responsibility[];
114
+ }
115
+
116
+ // @public
117
+ export interface ControlFamily {
118
+ readonly controlFamilyName?: string;
119
+ readonly controlFamilyStatus?: ControlFamilyStatus;
120
+ readonly controls?: Control[];
121
+ }
122
+
123
+ // @public
124
+ export type ControlFamilyStatus = string;
125
+
126
+ // @public
127
+ export type ControlStatus = string;
128
+
129
+ // @public
130
+ export interface ControlSyncRecord {
131
+ controlId?: string;
132
+ controlStatus?: string;
133
+ }
134
+
135
+ // @public
136
+ export type CreatedByType = string;
137
+
138
+ // @public
139
+ export type DeliveryStatus = string;
140
+
141
+ // @public
142
+ export interface DownloadResponse {
143
+ readonly complianceDetailedPdfReport?: DownloadResponseComplianceDetailedPdfReport;
144
+ readonly compliancePdfReport?: DownloadResponseCompliancePdfReport;
145
+ readonly complianceReport?: ComplianceReportItem[];
146
+ readonly resourceList?: ResourceItem[];
147
+ }
148
+
149
+ // @public
150
+ export interface DownloadResponseComplianceDetailedPdfReport {
151
+ readonly sasUri?: string;
152
+ }
153
+
154
+ // @public
155
+ export interface DownloadResponseCompliancePdfReport {
156
+ readonly sasUri?: string;
157
+ }
158
+
159
+ // @public
160
+ export type DownloadType = string;
161
+
162
+ // @public
163
+ export type EnableSslVerification = string;
164
+
165
+ // @public
166
+ export interface ErrorAdditionalInfo {
167
+ readonly info?: Record<string, unknown>;
168
+ readonly type?: string;
169
+ }
170
+
171
+ // @public
172
+ export interface ErrorDetail {
173
+ readonly additionalInfo?: ErrorAdditionalInfo[];
174
+ readonly code?: string;
175
+ readonly details?: ErrorDetail[];
176
+ readonly message?: string;
177
+ readonly target?: string;
178
+ }
179
+
180
+ // @public
181
+ export interface ErrorResponse {
182
+ error?: ErrorDetail;
183
+ }
184
+
185
+ // @public
186
+ export interface Evidence {
187
+ createOrUpdate(reportName: string, evidenceName: string, properties: EvidenceResource, options?: EvidenceCreateOrUpdateOptionalParams): Promise<EvidenceCreateOrUpdateResponse>;
188
+ delete(reportName: string, evidenceName: string, options?: EvidenceDeleteOptionalParams): Promise<void>;
189
+ download(reportName: string, evidenceName: string, body: EvidenceFileDownloadRequest, options?: EvidenceDownloadOptionalParams): Promise<EvidenceDownloadResponse>;
190
+ get(reportName: string, evidenceName: string, options?: EvidenceGetOptionalParams): Promise<EvidenceGetResponse>;
191
+ listByReport(reportName: string, options?: EvidenceListByReportOptionalParams): PagedAsyncIterableIterator<EvidenceResource>;
192
+ }
193
+
194
+ // @public
195
+ export interface EvidenceCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
196
+ offerGuid?: string;
197
+ reportCreatorTenantId?: string;
198
+ }
199
+
200
+ // @public
201
+ export type EvidenceCreateOrUpdateResponse = EvidenceResource;
202
+
203
+ // @public
204
+ export interface EvidenceDeleteOptionalParams extends coreClient.OperationOptions {
205
+ }
206
+
207
+ // @public
208
+ export interface EvidenceDownloadOptionalParams extends coreClient.OperationOptions {
209
+ }
210
+
211
+ // @public
212
+ export type EvidenceDownloadResponse = EvidenceFileDownloadResponse;
213
+
214
+ // @public
215
+ export interface EvidenceFileDownloadRequest {
216
+ offerGuid?: string;
217
+ reportCreatorTenantId?: string;
218
+ }
219
+
220
+ // @public
221
+ export interface EvidenceFileDownloadResponse {
222
+ readonly evidenceFile?: EvidenceFileDownloadResponseEvidenceFile;
223
+ }
224
+
225
+ // @public
226
+ export interface EvidenceFileDownloadResponseEvidenceFile {
227
+ readonly url?: string;
228
+ }
229
+
230
+ // @public
231
+ export interface EvidenceGetOptionalParams extends coreClient.OperationOptions {
232
+ }
233
+
234
+ // @public
235
+ export type EvidenceGetResponse = EvidenceResource;
236
+
237
+ // @public
238
+ export interface EvidenceListByReportNextOptionalParams extends coreClient.OperationOptions {
239
+ }
240
+
241
+ // @public
242
+ export type EvidenceListByReportNextResponse = EvidenceResourceListResult;
243
+
244
+ // @public
245
+ export interface EvidenceListByReportOptionalParams extends coreClient.OperationOptions {
246
+ filter?: string;
247
+ offerGuid?: string;
248
+ orderby?: string;
249
+ reportCreatorTenantId?: string;
250
+ select?: string;
251
+ skipToken?: string;
252
+ top?: number;
253
+ }
254
+
255
+ // @public
256
+ export type EvidenceListByReportResponse = EvidenceResourceListResult;
257
+
258
+ // @public
259
+ export interface EvidenceProperties {
260
+ controlId?: string;
261
+ evidenceType?: EvidenceType;
262
+ extraData?: string;
263
+ filePath: string;
264
+ readonly provisioningState?: ProvisioningState;
265
+ responsibilityId?: string;
266
+ }
267
+
268
+ // @public
269
+ export interface EvidenceResource extends ProxyResource {
270
+ properties: EvidenceProperties;
271
+ }
272
+
273
+ // @public
274
+ export interface EvidenceResourceListResult {
275
+ nextLink?: string;
276
+ value: EvidenceResource[];
277
+ }
278
+
279
+ // @public
280
+ export type EvidenceType = string;
281
+
282
+ // @public
283
+ export interface GetCollectionCountRequest {
284
+ type?: string;
285
+ }
286
+
287
+ // @public
288
+ export interface GetCollectionCountResponse {
289
+ count?: number;
290
+ }
291
+
292
+ // @public
293
+ export function getContinuationToken(page: unknown): string | undefined;
294
+
295
+ // @public
296
+ export interface GetOverviewStatusRequest {
297
+ type?: string;
298
+ }
299
+
300
+ // @public
301
+ export interface GetOverviewStatusResponse {
302
+ statusList?: StatusItem[];
303
+ }
304
+
305
+ // @public
306
+ export type InputType = string;
307
+
308
+ // @public
309
+ export type IsRecommendSolution = string;
310
+
311
+ // @public
312
+ export enum KnownActionType {
313
+ Internal = "Internal"
314
+ }
315
+
316
+ // @public
317
+ export enum KnownCategoryStatus {
318
+ Failed = "Failed",
319
+ NotApplicable = "NotApplicable",
320
+ Passed = "Passed",
321
+ PendingApproval = "PendingApproval"
322
+ }
323
+
324
+ // @public
325
+ export enum KnownCheckNameAvailabilityReason {
326
+ AlreadyExists = "AlreadyExists",
327
+ Invalid = "Invalid"
328
+ }
329
+
330
+ // @public
331
+ export enum KnownContentType {
332
+ ApplicationJson = "application/json"
333
+ }
334
+
335
+ // @public
336
+ export enum KnownControlFamilyStatus {
337
+ Failed = "Failed",
338
+ NotApplicable = "NotApplicable",
339
+ Passed = "Passed",
340
+ PendingApproval = "PendingApproval"
341
+ }
342
+
343
+ // @public
344
+ export enum KnownControlStatus {
345
+ Failed = "Failed",
346
+ NotApplicable = "NotApplicable",
347
+ Passed = "Passed",
348
+ PendingApproval = "PendingApproval"
349
+ }
350
+
351
+ // @public
352
+ export enum KnownCreatedByType {
353
+ Application = "Application",
354
+ Key = "Key",
355
+ ManagedIdentity = "ManagedIdentity",
356
+ User = "User"
357
+ }
358
+
359
+ // @public
360
+ export enum KnownDeliveryStatus {
361
+ Failed = "Failed",
362
+ NotStarted = "NotStarted",
363
+ Succeeded = "Succeeded"
364
+ }
365
+
366
+ // @public
367
+ export enum KnownDownloadType {
368
+ ComplianceDetailedPdfReport = "ComplianceDetailedPdfReport",
369
+ CompliancePdfReport = "CompliancePdfReport",
370
+ ComplianceReport = "ComplianceReport",
371
+ ResourceList = "ResourceList"
372
+ }
373
+
374
+ // @public
375
+ export enum KnownEnableSslVerification {
376
+ False = "false",
377
+ True = "true"
378
+ }
379
+
380
+ // @public
381
+ export enum KnownEvidenceType {
382
+ AutoCollectedEvidence = "AutoCollectedEvidence",
383
+ Data = "Data",
384
+ File = "File"
385
+ }
386
+
387
+ // @public
388
+ export enum KnownInputType {
389
+ Boolean = "Boolean",
390
+ Date = "Date",
391
+ Email = "Email",
392
+ Group = "Group",
393
+ MultilineText = "MultilineText",
394
+ MultiSelectCheckbox = "MultiSelectCheckbox",
395
+ MultiSelectDropdown = "MultiSelectDropdown",
396
+ MultiSelectDropdownCustom = "MultiSelectDropdownCustom",
397
+ None = "None",
398
+ Number = "Number",
399
+ SingleSelectDropdown = "SingleSelectDropdown",
400
+ SingleSelection = "SingleSelection",
401
+ Telephone = "Telephone",
402
+ Text = "Text",
403
+ Upload = "Upload",
404
+ Url = "Url",
405
+ YearPicker = "YearPicker",
406
+ YesNoNa = "YesNoNa"
407
+ }
408
+
409
+ // @public
410
+ export enum KnownIsRecommendSolution {
411
+ False = "false",
412
+ True = "true"
413
+ }
414
+
415
+ // @public
416
+ export enum KnownNotificationEvent {
417
+ AssessmentFailure = "assessment_failure",
418
+ GenerateSnapshotFailed = "generate_snapshot_failed",
419
+ GenerateSnapshotSuccess = "generate_snapshot_success",
420
+ ReportConfigurationChanges = "report_configuration_changes",
421
+ ReportDeletion = "report_deletion"
422
+ }
423
+
424
+ // @public
425
+ export enum KnownOrigin {
426
+ System = "system",
427
+ User = "user",
428
+ UserSystem = "user,system"
429
+ }
430
+
431
+ // @public
432
+ export enum KnownProvisioningState {
433
+ Canceled = "Canceled",
434
+ Creating = "Creating",
435
+ Deleting = "Deleting",
436
+ Failed = "Failed",
437
+ Fixing = "Fixing",
438
+ Succeeded = "Succeeded",
439
+ Updating = "Updating",
440
+ Verifying = "Verifying"
441
+ }
442
+
443
+ // @public
444
+ export enum KnownReportStatus {
445
+ Active = "Active",
446
+ Disabled = "Disabled",
447
+ Failed = "Failed",
448
+ Reviewing = "Reviewing"
449
+ }
450
+
451
+ // @public
452
+ export enum KnownResourceOrigin {
453
+ AWS = "AWS",
454
+ Azure = "Azure",
455
+ GCP = "GCP"
456
+ }
457
+
458
+ // @public
459
+ export enum KnownResourceStatus {
460
+ Healthy = "Healthy",
461
+ Unhealthy = "Unhealthy"
462
+ }
463
+
464
+ // @public
465
+ export enum KnownResponsibilityEnvironment {
466
+ AWS = "AWS",
467
+ Azure = "Azure",
468
+ GCP = "GCP",
469
+ General = "General"
470
+ }
471
+
472
+ // @public
473
+ export enum KnownResponsibilitySeverity {
474
+ High = "High",
475
+ Low = "Low",
476
+ Medium = "Medium"
477
+ }
478
+
479
+ // @public
480
+ export enum KnownResponsibilityStatus {
481
+ Failed = "Failed",
482
+ NotApplicable = "NotApplicable",
483
+ Passed = "Passed",
484
+ PendingApproval = "PendingApproval"
485
+ }
486
+
487
+ // @public
488
+ export enum KnownResponsibilityType {
489
+ Automated = "Automated",
490
+ Manual = "Manual",
491
+ ScopedManual = "ScopedManual"
492
+ }
493
+
494
+ // @public
495
+ export enum KnownResult {
496
+ Failed = "Failed",
497
+ Succeeded = "Succeeded"
498
+ }
499
+
500
+ // @public
501
+ export enum KnownRule {
502
+ AzureApplication = "AzureApplication",
503
+ CharLength = "CharLength",
504
+ CreditCardPCI = "CreditCardPCI",
505
+ Domains = "Domains",
506
+ DynamicDropdown = "DynamicDropdown",
507
+ PreventNonEnglishChar = "PreventNonEnglishChar",
508
+ PublicSOX = "PublicSOX",
509
+ PublisherVerification = "PublisherVerification",
510
+ Required = "Required",
511
+ Url = "Url",
512
+ Urls = "Urls",
513
+ USPrivacyShield = "USPrivacyShield",
514
+ ValidEmail = "ValidEmail",
515
+ ValidGuid = "ValidGuid"
516
+ }
517
+
518
+ // @public
519
+ export enum KnownSendAllEvents {
520
+ False = "false",
521
+ True = "true"
522
+ }
523
+
524
+ // @public
525
+ export enum KnownUpdateWebhookKey {
526
+ False = "false",
527
+ True = "true"
528
+ }
529
+
530
+ // @public
531
+ export enum KnownWebhookKeyEnabled {
532
+ False = "false",
533
+ True = "true"
534
+ }
535
+
536
+ // @public
537
+ export enum KnownWebhookStatus {
538
+ Disabled = "Disabled",
539
+ Enabled = "Enabled"
540
+ }
541
+
542
+ // @public
543
+ export interface ListInUseStorageAccountsRequest {
544
+ subscriptionIds?: string[];
545
+ }
546
+
547
+ // @public
548
+ export interface ListInUseStorageAccountsResponse {
549
+ storageAccountList?: StorageInfo[];
550
+ }
551
+
552
+ // @public
553
+ export type NotificationEvent = string;
554
+
555
+ // @public
556
+ export interface OnboardRequest {
557
+ subscriptionIds: string[];
558
+ }
559
+
560
+ // @public
561
+ export interface OnboardResponse {
562
+ subscriptionIds?: string[];
563
+ }
564
+
565
+ // @public
566
+ export interface Operation {
567
+ readonly actionType?: ActionType;
568
+ display?: OperationDisplay;
569
+ readonly isDataAction?: boolean;
570
+ readonly name?: string;
571
+ readonly origin?: Origin;
572
+ }
573
+
574
+ // @public
575
+ export interface OperationDisplay {
576
+ readonly description?: string;
577
+ readonly operation?: string;
578
+ readonly provider?: string;
579
+ readonly resource?: string;
580
+ }
581
+
582
+ // @public
583
+ export interface OperationListResult {
584
+ readonly nextLink?: string;
585
+ readonly value?: Operation[];
586
+ }
587
+
588
+ // @public
589
+ export interface Operations {
590
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
591
+ }
592
+
593
+ // @public
594
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
595
+ }
596
+
597
+ // @public
598
+ export type OperationsListNextResponse = OperationListResult;
599
+
600
+ // @public
601
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
602
+ }
603
+
604
+ // @public
605
+ export type OperationsListResponse = OperationListResult;
606
+
607
+ // @public
608
+ export type Origin = string;
609
+
610
+ // @public
611
+ export interface OverviewStatus {
612
+ readonly failedCount?: number;
613
+ readonly manualCount?: number;
614
+ readonly notApplicableCount?: number;
615
+ readonly passedCount?: number;
616
+ readonly pendingCount?: number;
617
+ }
618
+
619
+ // @public
620
+ export interface ProviderActions {
621
+ beginOnboard(body: OnboardRequest, options?: ProviderActionsOnboardOptionalParams): Promise<SimplePollerLike<OperationState<ProviderActionsOnboardResponse>, ProviderActionsOnboardResponse>>;
622
+ beginOnboardAndWait(body: OnboardRequest, options?: ProviderActionsOnboardOptionalParams): Promise<ProviderActionsOnboardResponse>;
623
+ beginTriggerEvaluation(body: TriggerEvaluationRequest, options?: ProviderActionsTriggerEvaluationOptionalParams): Promise<SimplePollerLike<OperationState<ProviderActionsTriggerEvaluationResponse>, ProviderActionsTriggerEvaluationResponse>>;
624
+ beginTriggerEvaluationAndWait(body: TriggerEvaluationRequest, options?: ProviderActionsTriggerEvaluationOptionalParams): Promise<ProviderActionsTriggerEvaluationResponse>;
625
+ checkNameAvailability(body: CheckNameAvailabilityRequest, options?: ProviderActionsCheckNameAvailabilityOptionalParams): Promise<ProviderActionsCheckNameAvailabilityResponse>;
626
+ getCollectionCount(body: GetCollectionCountRequest, options?: ProviderActionsGetCollectionCountOptionalParams): Promise<ProviderActionsGetCollectionCountResponse>;
627
+ getOverviewStatus(body: GetOverviewStatusRequest, options?: ProviderActionsGetOverviewStatusOptionalParams): Promise<ProviderActionsGetOverviewStatusResponse>;
628
+ listInUseStorageAccounts(body: ListInUseStorageAccountsRequest, options?: ProviderActionsListInUseStorageAccountsOptionalParams): Promise<ProviderActionsListInUseStorageAccountsResponse>;
629
+ }
630
+
631
+ // @public
632
+ export interface ProviderActionsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
633
+ }
634
+
635
+ // @public
636
+ export type ProviderActionsCheckNameAvailabilityResponse = CheckNameAvailabilityResponse;
637
+
638
+ // @public
639
+ export interface ProviderActionsGetCollectionCountOptionalParams extends coreClient.OperationOptions {
640
+ }
641
+
642
+ // @public
643
+ export type ProviderActionsGetCollectionCountResponse = GetCollectionCountResponse;
644
+
645
+ // @public
646
+ export interface ProviderActionsGetOverviewStatusOptionalParams extends coreClient.OperationOptions {
647
+ }
648
+
649
+ // @public
650
+ export type ProviderActionsGetOverviewStatusResponse = GetOverviewStatusResponse;
651
+
652
+ // @public
653
+ export interface ProviderActionsListInUseStorageAccountsOptionalParams extends coreClient.OperationOptions {
654
+ }
655
+
656
+ // @public
657
+ export type ProviderActionsListInUseStorageAccountsResponse = ListInUseStorageAccountsResponse;
658
+
659
+ // @public
660
+ export interface ProviderActionsOnboardHeaders {
661
+ location?: string;
662
+ retryAfter?: number;
663
+ }
664
+
665
+ // @public
666
+ export interface ProviderActionsOnboardOptionalParams extends coreClient.OperationOptions {
667
+ resumeFrom?: string;
668
+ updateIntervalInMs?: number;
669
+ }
670
+
671
+ // @public
672
+ export type ProviderActionsOnboardResponse = OnboardResponse;
673
+
674
+ // @public
675
+ export interface ProviderActionsTriggerEvaluationHeaders {
676
+ location?: string;
677
+ retryAfter?: number;
678
+ }
679
+
680
+ // @public
681
+ export interface ProviderActionsTriggerEvaluationOptionalParams extends coreClient.OperationOptions {
682
+ resumeFrom?: string;
683
+ updateIntervalInMs?: number;
684
+ }
685
+
686
+ // @public
687
+ export type ProviderActionsTriggerEvaluationResponse = TriggerEvaluationResponse;
688
+
689
+ // @public
690
+ export type ProvisioningState = string;
691
+
692
+ // @public
693
+ export interface ProxyResource extends Resource {
694
+ }
695
+
696
+ // @public
697
+ export interface QuickAssessment {
698
+ readonly description?: string;
699
+ readonly displayName?: string;
700
+ readonly remediationLink?: string;
701
+ readonly resourceId?: string;
702
+ readonly resourceStatus?: ResourceStatus;
703
+ readonly responsibilityId?: string;
704
+ readonly timestamp?: Date;
705
+ }
706
+
707
+ // @public
708
+ export interface Recommendation {
709
+ readonly recommendationId?: string;
710
+ readonly recommendationShortName?: string;
711
+ readonly recommendationSolutions?: RecommendationSolution[];
712
+ }
713
+
714
+ // @public
715
+ export interface RecommendationSolution {
716
+ readonly isRecommendSolution?: IsRecommendSolution;
717
+ readonly recommendationSolutionContent?: string;
718
+ readonly recommendationSolutionIndex?: string;
719
+ }
720
+
721
+ // @public
722
+ export interface Report {
723
+ beginCreateOrUpdate(reportName: string, properties: ReportResource, options?: ReportCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ReportCreateOrUpdateResponse>, ReportCreateOrUpdateResponse>>;
724
+ beginCreateOrUpdateAndWait(reportName: string, properties: ReportResource, options?: ReportCreateOrUpdateOptionalParams): Promise<ReportCreateOrUpdateResponse>;
725
+ beginDelete(reportName: string, options?: ReportDeleteOptionalParams): Promise<SimplePollerLike<OperationState<ReportDeleteResponse>, ReportDeleteResponse>>;
726
+ beginDeleteAndWait(reportName: string, options?: ReportDeleteOptionalParams): Promise<ReportDeleteResponse>;
727
+ beginFix(reportName: string, options?: ReportFixOptionalParams): Promise<SimplePollerLike<OperationState<ReportFixResponse>, ReportFixResponse>>;
728
+ beginFixAndWait(reportName: string, options?: ReportFixOptionalParams): Promise<ReportFixResponse>;
729
+ beginSyncCertRecord(reportName: string, body: SyncCertRecordRequest, options?: ReportSyncCertRecordOptionalParams): Promise<SimplePollerLike<OperationState<ReportSyncCertRecordResponse>, ReportSyncCertRecordResponse>>;
730
+ beginSyncCertRecordAndWait(reportName: string, body: SyncCertRecordRequest, options?: ReportSyncCertRecordOptionalParams): Promise<ReportSyncCertRecordResponse>;
731
+ beginUpdate(reportName: string, properties: ReportResourcePatch, options?: ReportUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ReportUpdateResponse>, ReportUpdateResponse>>;
732
+ beginUpdateAndWait(reportName: string, properties: ReportResourcePatch, options?: ReportUpdateOptionalParams): Promise<ReportUpdateResponse>;
733
+ beginVerify(reportName: string, options?: ReportVerifyOptionalParams): Promise<SimplePollerLike<OperationState<ReportVerifyResponse>, ReportVerifyResponse>>;
734
+ beginVerifyAndWait(reportName: string, options?: ReportVerifyOptionalParams): Promise<ReportVerifyResponse>;
735
+ get(reportName: string, options?: ReportGetOptionalParams): Promise<ReportGetResponse>;
736
+ getScopingQuestions(reportName: string, options?: ReportGetScopingQuestionsOptionalParams): Promise<ReportGetScopingQuestionsResponse>;
737
+ list(options?: ReportListOptionalParams): PagedAsyncIterableIterator<ReportResource>;
738
+ nestedResourceCheckNameAvailability(reportName: string, body: CheckNameAvailabilityRequest, options?: ReportNestedResourceCheckNameAvailabilityOptionalParams): Promise<ReportNestedResourceCheckNameAvailabilityResponse>;
739
+ }
740
+
741
+ // @public
742
+ export interface ReportComplianceStatus {
743
+ readonly m365?: OverviewStatus;
744
+ }
745
+
746
+ // @public
747
+ export interface ReportCreateOrUpdateHeaders {
748
+ retryAfter?: number;
749
+ }
750
+
751
+ // @public
752
+ export interface ReportCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
753
+ resumeFrom?: string;
754
+ updateIntervalInMs?: number;
755
+ }
756
+
757
+ // @public
758
+ export type ReportCreateOrUpdateResponse = ReportResource;
759
+
760
+ // @public
761
+ export interface ReportDeleteHeaders {
762
+ location?: string;
763
+ retryAfter?: number;
764
+ }
765
+
766
+ // @public
767
+ export interface ReportDeleteOptionalParams extends coreClient.OperationOptions {
768
+ resumeFrom?: string;
769
+ updateIntervalInMs?: number;
770
+ }
771
+
772
+ // @public
773
+ export type ReportDeleteResponse = ReportDeleteHeaders;
774
+
775
+ // @public
776
+ export interface ReportFixHeaders {
777
+ location?: string;
778
+ retryAfter?: number;
779
+ }
780
+
781
+ // @public
782
+ export interface ReportFixOptionalParams extends coreClient.OperationOptions {
783
+ resumeFrom?: string;
784
+ updateIntervalInMs?: number;
785
+ }
786
+
787
+ // @public
788
+ export type ReportFixResponse = ReportFixResult;
789
+
790
+ // @public
791
+ export interface ReportFixResult {
792
+ readonly reason?: string;
793
+ readonly result?: Result;
794
+ }
795
+
796
+ // @public
797
+ export interface ReportGetOptionalParams extends coreClient.OperationOptions {
798
+ }
799
+
800
+ // @public
801
+ export type ReportGetResponse = ReportResource;
802
+
803
+ // @public
804
+ export interface ReportGetScopingQuestionsOptionalParams extends coreClient.OperationOptions {
805
+ }
806
+
807
+ // @public
808
+ export type ReportGetScopingQuestionsResponse = ScopingQuestions;
809
+
810
+ // @public
811
+ export interface ReportListNextOptionalParams extends coreClient.OperationOptions {
812
+ }
813
+
814
+ // @public
815
+ export type ReportListNextResponse = ReportResourceListResult;
816
+
817
+ // @public
818
+ export interface ReportListOptionalParams extends coreClient.OperationOptions {
819
+ filter?: string;
820
+ offerGuid?: string;
821
+ orderby?: string;
822
+ reportCreatorTenantId?: string;
823
+ select?: string;
824
+ skipToken?: string;
825
+ top?: number;
826
+ }
827
+
828
+ // @public
829
+ export type ReportListResponse = ReportResourceListResult;
830
+
831
+ // @public
832
+ export interface ReportNestedResourceCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
833
+ }
834
+
835
+ // @public
836
+ export type ReportNestedResourceCheckNameAvailabilityResponse = CheckNameAvailabilityResponse;
837
+
838
+ // @public
839
+ export interface ReportPatchProperties {
840
+ readonly certRecords?: CertSyncRecord[];
841
+ readonly complianceStatus?: ReportComplianceStatus;
842
+ readonly errors?: string[];
843
+ readonly lastTriggerTime?: Date;
844
+ readonly nextTriggerTime?: Date;
845
+ offerGuid?: string;
846
+ readonly provisioningState?: ProvisioningState;
847
+ resources?: ResourceMetadata[];
848
+ readonly status?: ReportStatus;
849
+ storageInfo?: StorageInfo;
850
+ readonly subscriptions?: string[];
851
+ readonly tenantId?: string;
852
+ timeZone?: string;
853
+ triggerTime?: Date;
854
+ }
855
+
856
+ // @public
857
+ export interface ReportProperties {
858
+ readonly certRecords?: CertSyncRecord[];
859
+ readonly complianceStatus?: ReportComplianceStatus;
860
+ readonly errors?: string[];
861
+ readonly lastTriggerTime?: Date;
862
+ readonly nextTriggerTime?: Date;
863
+ offerGuid?: string;
864
+ readonly provisioningState?: ProvisioningState;
865
+ resources: ResourceMetadata[];
866
+ readonly status?: ReportStatus;
867
+ storageInfo?: StorageInfo;
868
+ readonly subscriptions?: string[];
869
+ readonly tenantId?: string;
870
+ timeZone: string;
871
+ triggerTime: Date;
872
+ }
873
+
874
+ // @public
875
+ export interface ReportResource extends ProxyResource {
876
+ properties: ReportProperties;
877
+ }
878
+
879
+ // @public
880
+ export interface ReportResourceListResult {
881
+ nextLink?: string;
882
+ value: ReportResource[];
883
+ }
884
+
885
+ // @public
886
+ export interface ReportResourcePatch {
887
+ properties?: ReportPatchProperties;
888
+ }
889
+
890
+ // @public
891
+ export type ReportStatus = string;
892
+
893
+ // @public
894
+ export interface ReportSyncCertRecordHeaders {
895
+ location?: string;
896
+ retryAfter?: number;
897
+ }
898
+
899
+ // @public
900
+ export interface ReportSyncCertRecordOptionalParams extends coreClient.OperationOptions {
901
+ resumeFrom?: string;
902
+ updateIntervalInMs?: number;
903
+ }
904
+
905
+ // @public
906
+ export type ReportSyncCertRecordResponse = SyncCertRecordResponse;
907
+
908
+ // @public
909
+ export interface ReportUpdateHeaders {
910
+ location?: string;
911
+ retryAfter?: number;
912
+ }
913
+
914
+ // @public
915
+ export interface ReportUpdateOptionalParams extends coreClient.OperationOptions {
916
+ resumeFrom?: string;
917
+ updateIntervalInMs?: number;
918
+ }
919
+
920
+ // @public
921
+ export type ReportUpdateResponse = ReportResource;
922
+
923
+ // @public
924
+ export interface ReportVerificationResult {
925
+ readonly reason?: string;
926
+ readonly result?: Result;
927
+ }
928
+
929
+ // @public
930
+ export interface ReportVerifyHeaders {
931
+ location?: string;
932
+ retryAfter?: number;
933
+ }
934
+
935
+ // @public
936
+ export interface ReportVerifyOptionalParams extends coreClient.OperationOptions {
937
+ resumeFrom?: string;
938
+ updateIntervalInMs?: number;
939
+ }
940
+
941
+ // @public
942
+ export type ReportVerifyResponse = ReportVerificationResult;
943
+
944
+ // @public
945
+ export interface Resource {
946
+ readonly id?: string;
947
+ readonly name?: string;
948
+ readonly systemData?: SystemData;
949
+ readonly type?: string;
950
+ }
951
+
952
+ // @public
953
+ export interface ResourceItem {
954
+ readonly resourceGroup?: string;
955
+ readonly resourceId?: string;
956
+ readonly resourceType?: string;
957
+ readonly subscriptionId?: string;
958
+ }
959
+
960
+ // @public
961
+ export interface ResourceMetadata {
962
+ accountId?: string;
963
+ resourceId: string;
964
+ resourceKind?: string;
965
+ resourceOrigin?: ResourceOrigin;
966
+ resourceType?: string;
967
+ }
968
+
969
+ // @public
970
+ export type ResourceOrigin = string;
971
+
972
+ // @public
973
+ export type ResourceStatus = string;
974
+
975
+ // @public
976
+ export interface Responsibility {
977
+ evidenceFiles?: string[];
978
+ failedResourceCount?: number;
979
+ readonly guidance?: string;
980
+ readonly justification?: string;
981
+ readonly recommendationList?: Recommendation[];
982
+ readonly resourceList?: ResponsibilityResource[];
983
+ readonly responsibilityDescription?: string;
984
+ readonly responsibilityEnvironment?: ResponsibilityEnvironment;
985
+ readonly responsibilityId?: string;
986
+ readonly responsibilitySeverity?: ResponsibilitySeverity;
987
+ readonly responsibilityStatus?: ResponsibilityStatus;
988
+ readonly responsibilityTitle?: string;
989
+ readonly responsibilityType?: ResponsibilityType;
990
+ totalResourceCount?: number;
991
+ }
992
+
993
+ // @public
994
+ export type ResponsibilityEnvironment = string;
995
+
996
+ // @public
997
+ export interface ResponsibilityResource {
998
+ readonly accountId?: string;
999
+ recommendationIds?: string[];
1000
+ readonly resourceId?: string;
1001
+ readonly resourceOrigin?: ResourceOrigin;
1002
+ readonly resourceStatus?: ResourceStatus;
1003
+ readonly resourceStatusChangeDate?: Date;
1004
+ readonly resourceType?: string;
1005
+ }
1006
+
1007
+ // @public
1008
+ export type ResponsibilitySeverity = string;
1009
+
1010
+ // @public
1011
+ export type ResponsibilityStatus = string;
1012
+
1013
+ // @public
1014
+ export type ResponsibilityType = string;
1015
+
1016
+ // @public
1017
+ export type Result = string;
1018
+
1019
+ // @public
1020
+ export type Rule = string;
1021
+
1022
+ // @public
1023
+ export interface ScopingAnswer {
1024
+ answers: string[];
1025
+ questionId: string;
1026
+ }
1027
+
1028
+ // @public
1029
+ export interface ScopingConfiguration {
1030
+ createOrUpdate(reportName: string, scopingConfigurationName: string, properties: ScopingConfigurationResource, options?: ScopingConfigurationCreateOrUpdateOptionalParams): Promise<ScopingConfigurationCreateOrUpdateResponse>;
1031
+ delete(reportName: string, scopingConfigurationName: string, options?: ScopingConfigurationDeleteOptionalParams): Promise<void>;
1032
+ get(reportName: string, scopingConfigurationName: string, options?: ScopingConfigurationGetOptionalParams): Promise<ScopingConfigurationGetResponse>;
1033
+ list(reportName: string, options?: ScopingConfigurationListOptionalParams): PagedAsyncIterableIterator<ScopingConfigurationResource>;
1034
+ }
1035
+
1036
+ // @public
1037
+ export interface ScopingConfigurationCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1038
+ }
1039
+
1040
+ // @public
1041
+ export type ScopingConfigurationCreateOrUpdateResponse = ScopingConfigurationResource;
1042
+
1043
+ // @public
1044
+ export interface ScopingConfigurationDeleteOptionalParams extends coreClient.OperationOptions {
1045
+ }
1046
+
1047
+ // @public
1048
+ export interface ScopingConfigurationGetOptionalParams extends coreClient.OperationOptions {
1049
+ }
1050
+
1051
+ // @public
1052
+ export type ScopingConfigurationGetResponse = ScopingConfigurationResource;
1053
+
1054
+ // @public
1055
+ export interface ScopingConfigurationListNextOptionalParams extends coreClient.OperationOptions {
1056
+ }
1057
+
1058
+ // @public
1059
+ export type ScopingConfigurationListNextResponse = ScopingConfigurationResourceListResult;
1060
+
1061
+ // @public
1062
+ export interface ScopingConfigurationListOptionalParams extends coreClient.OperationOptions {
1063
+ }
1064
+
1065
+ // @public
1066
+ export type ScopingConfigurationListResponse = ScopingConfigurationResourceListResult;
1067
+
1068
+ // @public
1069
+ export interface ScopingConfigurationProperties {
1070
+ answers?: ScopingAnswer[];
1071
+ readonly provisioningState?: ProvisioningState;
1072
+ }
1073
+
1074
+ // @public
1075
+ export interface ScopingConfigurationResource extends ProxyResource {
1076
+ properties: ScopingConfigurationProperties;
1077
+ }
1078
+
1079
+ // @public
1080
+ export interface ScopingConfigurationResourceListResult {
1081
+ nextLink?: string;
1082
+ value: ScopingConfigurationResource[];
1083
+ }
1084
+
1085
+ // @public
1086
+ export interface ScopingQuestion {
1087
+ readonly inputType: InputType;
1088
+ readonly optionIds: string[];
1089
+ readonly questionId: string;
1090
+ readonly rules: Rule[];
1091
+ readonly showSubQuestionsValue?: string;
1092
+ readonly superiorQuestionId?: string;
1093
+ }
1094
+
1095
+ // @public
1096
+ export interface ScopingQuestions {
1097
+ questions?: ScopingQuestion[];
1098
+ }
1099
+
1100
+ // @public
1101
+ export type SendAllEvents = string;
1102
+
1103
+ // @public
1104
+ export interface Snapshot {
1105
+ beginDownload(reportName: string, snapshotName: string, body: SnapshotDownloadRequest, options?: SnapshotDownloadOptionalParams): Promise<SimplePollerLike<OperationState<SnapshotDownloadResponse>, SnapshotDownloadResponse>>;
1106
+ beginDownloadAndWait(reportName: string, snapshotName: string, body: SnapshotDownloadRequest, options?: SnapshotDownloadOptionalParams): Promise<SnapshotDownloadResponse>;
1107
+ get(reportName: string, snapshotName: string, options?: SnapshotGetOptionalParams): Promise<SnapshotGetResponse>;
1108
+ list(reportName: string, options?: SnapshotListOptionalParams): PagedAsyncIterableIterator<SnapshotResource>;
1109
+ }
1110
+
1111
+ // @public
1112
+ export interface SnapshotDownloadHeaders {
1113
+ location?: string;
1114
+ retryAfter?: number;
1115
+ }
1116
+
1117
+ // @public
1118
+ export interface SnapshotDownloadOptionalParams extends coreClient.OperationOptions {
1119
+ resumeFrom?: string;
1120
+ updateIntervalInMs?: number;
1121
+ }
1122
+
1123
+ // @public
1124
+ export interface SnapshotDownloadRequest {
1125
+ downloadType: DownloadType;
1126
+ offerGuid?: string;
1127
+ reportCreatorTenantId?: string;
1128
+ }
1129
+
1130
+ // @public
1131
+ export type SnapshotDownloadResponse = DownloadResponse;
1132
+
1133
+ // @public
1134
+ export interface SnapshotGetOptionalParams extends coreClient.OperationOptions {
1135
+ }
1136
+
1137
+ // @public
1138
+ export type SnapshotGetResponse = SnapshotResource;
1139
+
1140
+ // @public
1141
+ export interface SnapshotListNextOptionalParams extends coreClient.OperationOptions {
1142
+ }
1143
+
1144
+ // @public
1145
+ export type SnapshotListNextResponse = SnapshotResourceListResult;
1146
+
1147
+ // @public
1148
+ export interface SnapshotListOptionalParams extends coreClient.OperationOptions {
1149
+ filter?: string;
1150
+ offerGuid?: string;
1151
+ orderby?: string;
1152
+ reportCreatorTenantId?: string;
1153
+ select?: string;
1154
+ skipToken?: string;
1155
+ top?: number;
1156
+ }
1157
+
1158
+ // @public
1159
+ export type SnapshotListResponse = SnapshotResourceListResult;
1160
+
1161
+ // @public
1162
+ export interface SnapshotProperties {
1163
+ readonly complianceResults?: ComplianceResult[];
1164
+ readonly createdAt?: Date;
1165
+ readonly provisioningState?: ProvisioningState;
1166
+ readonly reportProperties?: ReportProperties;
1167
+ readonly reportSystemData?: SystemData;
1168
+ readonly snapshotName?: string;
1169
+ }
1170
+
1171
+ // @public
1172
+ export interface SnapshotResource extends ProxyResource {
1173
+ properties?: SnapshotProperties;
1174
+ }
1175
+
1176
+ // @public
1177
+ export interface SnapshotResourceListResult {
1178
+ nextLink?: string;
1179
+ value: SnapshotResource[];
1180
+ }
1181
+
1182
+ // @public
1183
+ export interface StatusItem {
1184
+ statusName?: string;
1185
+ statusValue?: string;
1186
+ }
1187
+
1188
+ // @public
1189
+ export interface StorageInfo {
1190
+ accountName?: string;
1191
+ location?: string;
1192
+ resourceGroup?: string;
1193
+ subscriptionId?: string;
1194
+ }
1195
+
1196
+ // @public
1197
+ export interface SyncCertRecordRequest {
1198
+ certRecord: CertSyncRecord;
1199
+ }
1200
+
1201
+ // @public
1202
+ export interface SyncCertRecordResponse {
1203
+ certRecord?: CertSyncRecord;
1204
+ }
1205
+
1206
+ // @public
1207
+ export interface SystemData {
1208
+ createdAt?: Date;
1209
+ createdBy?: string;
1210
+ createdByType?: CreatedByType;
1211
+ lastModifiedAt?: Date;
1212
+ lastModifiedBy?: string;
1213
+ lastModifiedByType?: CreatedByType;
1214
+ }
1215
+
1216
+ // @public
1217
+ export interface TriggerEvaluationProperty {
1218
+ readonly evaluationEndTime?: Date;
1219
+ quickAssessments?: QuickAssessment[];
1220
+ resourceIds?: string[];
1221
+ readonly triggerTime?: Date;
1222
+ }
1223
+
1224
+ // @public
1225
+ export interface TriggerEvaluationRequest {
1226
+ resourceIds: string[];
1227
+ }
1228
+
1229
+ // @public
1230
+ export interface TriggerEvaluationResponse {
1231
+ properties?: TriggerEvaluationProperty;
1232
+ }
1233
+
1234
+ // @public
1235
+ export type UpdateWebhookKey = string;
1236
+
1237
+ // @public
1238
+ export interface Webhook {
1239
+ createOrUpdate(reportName: string, webhookName: string, properties: WebhookResource, options?: WebhookCreateOrUpdateOptionalParams): Promise<WebhookCreateOrUpdateResponse>;
1240
+ delete(reportName: string, webhookName: string, options?: WebhookDeleteOptionalParams): Promise<void>;
1241
+ get(reportName: string, webhookName: string, options?: WebhookGetOptionalParams): Promise<WebhookGetResponse>;
1242
+ list(reportName: string, options?: WebhookListOptionalParams): PagedAsyncIterableIterator<WebhookResource>;
1243
+ update(reportName: string, webhookName: string, properties: WebhookResourcePatch, options?: WebhookUpdateOptionalParams): Promise<WebhookUpdateResponse>;
1244
+ }
1245
+
1246
+ // @public
1247
+ export interface WebhookCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1248
+ }
1249
+
1250
+ // @public
1251
+ export type WebhookCreateOrUpdateResponse = WebhookResource;
1252
+
1253
+ // @public
1254
+ export interface WebhookDeleteOptionalParams extends coreClient.OperationOptions {
1255
+ }
1256
+
1257
+ // @public
1258
+ export interface WebhookGetOptionalParams extends coreClient.OperationOptions {
1259
+ }
1260
+
1261
+ // @public
1262
+ export type WebhookGetResponse = WebhookResource;
1263
+
1264
+ // @public
1265
+ export type WebhookKeyEnabled = string;
1266
+
1267
+ // @public
1268
+ export interface WebhookListNextOptionalParams extends coreClient.OperationOptions {
1269
+ }
1270
+
1271
+ // @public
1272
+ export type WebhookListNextResponse = WebhookResourceListResult;
1273
+
1274
+ // @public
1275
+ export interface WebhookListOptionalParams extends coreClient.OperationOptions {
1276
+ filter?: string;
1277
+ offerGuid?: string;
1278
+ orderby?: string;
1279
+ reportCreatorTenantId?: string;
1280
+ select?: string;
1281
+ skipToken?: string;
1282
+ top?: number;
1283
+ }
1284
+
1285
+ // @public
1286
+ export type WebhookListResponse = WebhookResourceListResult;
1287
+
1288
+ // @public
1289
+ export interface WebhookProperties {
1290
+ contentType?: ContentType;
1291
+ readonly deliveryStatus?: DeliveryStatus;
1292
+ enableSslVerification?: EnableSslVerification;
1293
+ events?: NotificationEvent[];
1294
+ payloadUrl?: string;
1295
+ readonly provisioningState?: ProvisioningState;
1296
+ sendAllEvents?: SendAllEvents;
1297
+ status?: WebhookStatus;
1298
+ readonly tenantId?: string;
1299
+ updateWebhookKey?: UpdateWebhookKey;
1300
+ readonly webhookId?: string;
1301
+ webhookKey?: string;
1302
+ readonly webhookKeyEnabled?: WebhookKeyEnabled;
1303
+ }
1304
+
1305
+ // @public
1306
+ export interface WebhookResource extends ProxyResource {
1307
+ properties: WebhookProperties;
1308
+ }
1309
+
1310
+ // @public
1311
+ export interface WebhookResourceListResult {
1312
+ nextLink?: string;
1313
+ value: WebhookResource[];
1314
+ }
1315
+
1316
+ // @public
1317
+ export interface WebhookResourcePatch {
1318
+ properties?: WebhookProperties;
1319
+ }
1320
+
1321
+ // @public
1322
+ export type WebhookStatus = string;
1323
+
1324
+ // @public
1325
+ export interface WebhookUpdateOptionalParams extends coreClient.OperationOptions {
1326
+ }
1327
+
1328
+ // @public
1329
+ export type WebhookUpdateResponse = WebhookResource;
1330
+
1331
+ // (No @packageDocumentation comment for this package)
1332
+
1333
+ ```