/
index.ts
7821 lines (6945 loc) · 288 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
import * as coreClient from "@azure/core-client";
export type IntegrationRuntimeUnion =
| IntegrationRuntime
| ManagedIntegrationRuntime
| SelfHostedIntegrationRuntime;
export type SsisObjectMetadataUnion =
| SsisObjectMetadata
| SsisFolder
| SsisProject
| SsisPackage
| SsisEnvironment;
export type IntegrationRuntimeStatusUnion =
| IntegrationRuntimeStatus
| ManagedIntegrationRuntimeStatus
| SelfHostedIntegrationRuntimeStatus;
export type SecretBaseUnion = SecretBase | SecureString;
export type CustomSetupBaseUnion =
| CustomSetupBase
| CmdkeySetup
| EnvironmentVariableSetup
| ComponentSetup;
export type LinkedIntegrationRuntimeTypeUnion =
| LinkedIntegrationRuntimeType
| LinkedIntegrationRuntimeKeyAuthorization
| LinkedIntegrationRuntimeRbacAuthorization;
export type DatabaseUnion =
| Database
| ReadWriteDatabase
| ReadOnlyFollowingDatabase;
export type DataConnectionUnion =
| DataConnection
| EventHubDataConnection
| IotHubDataConnection
| EventGridDataConnection;
/** Common fields that are returned in the response for all Azure Resource Manager resources */
export interface Resource {
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly id?: string;
/**
* The name of the resource
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly name?: string;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly type?: string;
}
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
export interface ErrorResponse {
/** The error object. */
error?: ErrorDetail;
}
/** The error detail. */
export interface ErrorDetail {
/**
* The error code.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly code?: string;
/**
* The error message.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly message?: string;
/**
* The error target.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly target?: string;
/**
* The error details.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly details?: ErrorDetail[];
/**
* The error additional info.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly additionalInfo?: ErrorAdditionalInfo[];
}
/** The resource management error additional info. */
export interface ErrorAdditionalInfo {
/**
* The additional info type.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly type?: string;
/**
* The additional info.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly info?: Record<string, unknown>;
}
/** A list of active directory only authentications. */
export interface AzureADOnlyAuthenticationListResult {
/**
* Array of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: AzureADOnlyAuthentication[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A request about whether a workspace name is available */
export interface CheckNameAvailabilityRequest {
/** Workspace name */
name?: string;
/** Type: workspace */
type?: string;
}
/** A response saying whether the workspace name is available */
export interface CheckNameAvailabilityResponse {
/** Validation message */
message?: string;
/** Whether the workspace name is available */
available?: boolean;
/** Reason the workspace name is or is not available */
reason?: string;
/** Workspace name */
name?: string;
}
/** List of IP firewall rules */
export interface IpFirewallRuleInfoListResult {
/** Link to next page of results */
nextLink?: string;
/** List of IP firewall rules */
value?: IpFirewallRuleInfo[];
}
/** IP firewall rule properties */
export interface IpFirewallRuleProperties {
/** The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress */
endIpAddress?: string;
/**
* Resource provisioning state
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly provisioningState?: ProvisioningState;
/** The start IP address of the firewall rule. Must be IPv4 format */
startIpAddress?: string;
}
/** Replace all IP firewall rules request */
export interface ReplaceAllIpFirewallRulesRequest {
/** IP firewall rule properties */
ipFirewallRules?: { [propertyName: string]: IpFirewallRuleProperties };
}
/** An existing operation for replacing the firewall rules */
export interface ReplaceAllFirewallRulesOperationResponse {
/** The operation ID */
operationId?: string;
}
/** List of keys */
export interface KeyInfoListResult {
/** Link to the next page of results */
nextLink?: string;
/** List of keys */
value?: Key[];
}
/** An operation that is available in this resource provider */
export interface AvailableRpOperation {
/** Display properties of the operation */
display?: AvailableRpOperationDisplayInfo;
/** Whether this operation is a data action */
isDataAction?: string;
/** Operation name */
name?: string;
/** Operation origin */
origin?: string;
/** Operation service specification */
serviceSpecification?: OperationMetaServiceSpecification;
}
/** Description of an available operation */
export interface AvailableRpOperationDisplayInfo {
/** Operation description */
description?: string;
/** Resource type */
resource?: string;
/** Resource provider name */
provider?: string;
/** Operation name */
operation?: string;
}
/** What is this? */
export interface OperationMetaServiceSpecification {
/** Service metric specifications */
metricSpecifications?: OperationMetaMetricSpecification[];
/** Service log specifications */
logSpecifications?: OperationMetaLogSpecification[];
}
/** What is this? */
export interface OperationMetaMetricSpecification {
/** The source MDM namespace */
sourceMdmNamespace?: string;
/** Metric display name */
displayName?: string;
/** Metric unique name */
name?: string;
/** Metric aggregation type */
aggregationType?: string;
/** Metric description */
displayDescription?: string;
/** The source MDM account */
sourceMdmAccount?: string;
/** Whether the regional MDM account is enabled */
enableRegionalMdmAccount?: boolean;
/** Metric units */
unit?: string;
/** Metric dimensions */
dimensions?: OperationMetaMetricDimensionSpecification[];
/** Whether the metric supports instance-level aggregation */
supportsInstanceLevelAggregation?: boolean;
/** Metric filter */
metricFilterPattern?: string;
}
/** What is this? */
export interface OperationMetaMetricDimensionSpecification {
/** Dimension display name */
displayName?: string;
/** Dimension unique name */
name?: string;
/** Whether this metric should be exported for Shoebox */
toBeExportedForShoebox?: boolean;
}
/** What is this? */
export interface OperationMetaLogSpecification {
/** Log display name */
displayName?: string;
/** Time range the log covers */
blobDuration?: string;
/** Log unique name */
name?: string;
}
/** An operation */
export interface OperationResource {
/** Operation ID */
id?: string;
/** Operation name */
name?: string;
/** Operation status */
status?: OperationStatus;
/** Operation properties */
properties?: Record<string, unknown>;
/** Errors from the operation */
error?: ErrorDetail;
/** Operation start time */
startTime?: Date;
/** Operation start time */
endTime?: Date;
/** Completion percentage of the operation */
percentComplete?: number;
}
/** Properties of a private endpoint connection. */
export interface PrivateEndpointConnectionProperties {
/** The private endpoint which the connection belongs to. */
privateEndpoint?: PrivateEndpoint;
/** Connection state of the private endpoint connection. */
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
/**
* Provisioning state of the private endpoint connection.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly provisioningState?: string;
}
/** Private endpoint details */
export interface PrivateEndpoint {
/**
* Resource id of the private endpoint.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly id?: string;
}
/** Connection state details of the private endpoint */
export interface PrivateLinkServiceConnectionState {
/** The private link service connection status. */
status?: string;
/** The private link service connection description. */
description?: string;
/**
* The actions required for private link service connection.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly actionsRequired?: string;
}
/** A list of private endpoint connections */
export interface PrivateEndpointConnectionList {
/**
* Array of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: PrivateEndpointConnection[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A list of private link resources */
export interface PrivateLinkResourceListResult {
/**
* Array of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: PrivateLinkResource[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** Properties of a private link resource. */
export interface PrivateLinkResourceProperties {
/**
* The private link resource group id.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly groupId?: string;
/**
* The private link resource required member names.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly requiredMembers?: string[];
/**
* Required DNS zone names of the the private link resource.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly requiredZoneNames?: string[];
}
/** List of privateLinkHubs */
export interface PrivateLinkHubInfoListResult {
/** Link to the next page of results */
nextLink?: string;
/** List of privateLinkHubs */
value?: PrivateLinkHub[];
}
/** Private Endpoint Connection For Private Link Hub - Basic */
export interface PrivateEndpointConnectionForPrivateLinkHubBasic {
/**
* identifier
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly id?: string;
/** The private endpoint which the connection belongs to. */
privateEndpoint?: PrivateEndpoint;
/** Connection state of the private endpoint connection. */
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
/**
* Provisioning state of the private endpoint connection.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly provisioningState?: string;
}
/** PrivateLinkHub patch details */
export interface PrivateLinkHubPatchInfo {
/** Resource tags */
tags?: { [propertyName: string]: string };
}
export interface PrivateEndpointConnectionForPrivateLinkHubResourceCollectionResponse {
value?: PrivateEndpointConnectionForPrivateLinkHub[];
nextLink?: string;
}
export interface PrivateEndpointConnectionForPrivateLinkHubBasicAutoGenerated {
id?: string;
/** Properties of a private endpoint connection. */
properties?: PrivateEndpointConnectionProperties;
}
/** SQL pool SKU */
export interface Sku {
/** The service tier */
tier?: string;
/** The SKU name */
name?: string;
/** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */
capacity?: number;
}
/** A SQL Analytics pool patch info */
export interface SqlPoolPatchInfo {
/** Resource tags. */
tags?: { [propertyName: string]: string };
/** The geo-location where the resource lives */
location?: string;
/** SQL pool SKU */
sku?: Sku;
/** Maximum size in bytes */
maxSizeBytes?: number;
/** Collation mode */
collation?: string;
/** Source database to create from */
sourceDatabaseId?: string;
/** Backup database to restore from */
recoverableDatabaseId?: string;
/** Resource state */
provisioningState?: string;
/**
* Resource status
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly status?: string;
/** Snapshot time to restore */
restorePointInTime?: Date;
/**
* Specifies the mode of sql pool creation.
*
* Default: regular sql pool creation.
*
* PointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.
*
* Recovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.
*
* Restore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified.
*/
createMode?: CreateMode;
/**
* Date the SQL pool was created
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly creationDate?: Date;
/** The storage account type used to store backups for this sql pool. */
storageAccountType?: StorageAccountType;
/** Specifies the time that the sql pool was deleted */
sourceDatabaseDeletionDate?: Date;
}
/** List of SQL pools */
export interface SqlPoolInfoListResult {
/** Link to the next page of results */
nextLink?: string;
/** List of SQL pools */
value?: SqlPool[];
}
/** Contains the information necessary to perform a resource move (rename). */
export interface ResourceMoveDefinition {
/** The target ID for the resource */
id: string;
}
/** The response to a list geo backup policies request. */
export interface GeoBackupPolicyListResult {
/** The list of geo backup policies. */
value?: GeoBackupPolicy[];
}
/** A list of long term retention backups. */
export interface RestorePointListResult {
/**
* Array of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: RestorePoint[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** Contains the information necessary to perform a create Sql pool restore point operation. */
export interface CreateSqlPoolRestorePointDefinition {
/** The restore point label to apply */
restorePointLabel: string;
}
/** Represents the response to a List Sql pool replication link request. */
export interface ReplicationLinkListResult {
/** The list of Sql pool replication links housed in the Sql pool. */
value?: ReplicationLink[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** Maintenance window time range. */
export interface MaintenanceWindowTimeRange {
/** Day of maintenance window. */
dayOfWeek?: DayOfWeek;
/** Start time minutes offset from 12am. */
startTime?: string;
/** Duration of maintenance window in minutes. */
duration?: string;
}
/** A list of transparent data encryption configurations. */
export interface TransparentDataEncryptionListResult {
/**
* Array of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: TransparentDataEncryption[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** The response to a list Sql pool operations request */
export interface SqlPoolBlobAuditingPolicySqlPoolOperationListResult {
/**
* Array of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: SqlPoolOperation[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** The response to a list Sql pool usages request. */
export interface SqlPoolUsageListResult {
/** The list of usages for the Sql pool. */
value: SqlPoolUsage[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** The Sql pool usages. */
export interface SqlPoolUsage {
/**
* The name of the usage metric.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly name?: string;
/**
* The name of the resource.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly resourceName?: string;
/**
* The usage metric display name.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly displayName?: string;
/**
* The current value of the usage metric.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly currentValue?: number;
/**
* The current limit of the usage metric.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly limit?: number;
/**
* The units of the usage metric.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly unit?: string;
/**
* The next reset time for the usage metric (ISO8601 format).
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextResetTime?: Date;
}
/** A list of sensitivity labels. */
export interface SensitivityLabelListResult {
/**
* Array of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: SensitivityLabel[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A list of sensitivity label update operations. */
export interface SensitivityLabelUpdateList {
operations?: SensitivityLabelUpdate[];
}
/** A list of recommended sensitivity label update operations. */
export interface RecommendedSensitivityLabelUpdateList {
operations?: RecommendedSensitivityLabelUpdate[];
}
/** A list of Sql pool schemas. */
export interface SqlPoolSchemaListResult {
/**
* Array of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: SqlPoolSchema[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A list of Sql pool tables. */
export interface SqlPoolTableListResult {
/**
* Array of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: SqlPoolTable[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A list of Sql pool columns. */
export interface SqlPoolColumnListResult {
/**
* Array of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: SqlPoolColumn[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A list of the Sql pool's vulnerability assessments. */
export interface SqlPoolVulnerabilityAssessmentListResult {
/**
* Array of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: SqlPoolVulnerabilityAssessment[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** Properties of a Vulnerability Assessment recurring scans. */
export interface VulnerabilityAssessmentRecurringScansProperties {
/** Recurring scans state. */
isEnabled?: boolean;
/** Specifies that the schedule scan notification will be is sent to the subscription administrators. */
emailSubscriptionAdmins?: boolean;
/** Specifies an array of e-mail addresses to which the scan notification is sent. */
emails?: string[];
}
/** A list of vulnerability assessment scan records. */
export interface VulnerabilityAssessmentScanRecordListResult {
/**
* Array of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: VulnerabilityAssessmentScanRecord[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** Properties of a vulnerability assessment scan error. */
export interface VulnerabilityAssessmentScanError {
/**
* The error code.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly code?: string;
/**
* The error message.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly message?: string;
}
/** A list of SQL pool security alert policies. */
export interface ListSqlPoolSecurityAlertPolicies {
/**
* Array of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: SqlPoolSecurityAlertPolicy[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** Properties for an Sql pool vulnerability assessment rule baseline's result. */
export interface SqlPoolVulnerabilityAssessmentRuleBaselineItem {
/** The rule baseline result */
result: string[];
}
/** A list of sql pool extended auditing settings. */
export interface ExtendedSqlPoolBlobAuditingPolicyListResult {
/**
* Array of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: ExtendedSqlPoolBlobAuditingPolicy[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** The response to a list data masking rules request. */
export interface DataMaskingRuleListResult {
/** The list of Sql pool data masking rules. */
value?: DataMaskingRule[];
}
/** A list of Sql pool auditing settings. */
export interface SqlPoolBlobAuditingPolicyListResult {
/**
* Array of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: SqlPoolBlobAuditingPolicy[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A list of workload groups. */
export interface WorkloadGroupListResult {
/**
* Array of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: WorkloadGroup[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A list of workload classifiers for a workload group. */
export interface WorkloadClassifierListResult {
/**
* Array of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: WorkloadClassifier[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A list of server auditing settings. */
export interface ServerBlobAuditingPolicyListResult {
/**
* Array of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: ServerBlobAuditingPolicy[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A list of server extended auditing settings. */
export interface ExtendedServerBlobAuditingPolicyListResult {
/**
* Array of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: ExtendedServerBlobAuditingPolicy[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A list of the workspace managed sql server's security alert policies. */
export interface ServerSecurityAlertPolicyListResult {
/**
* Array of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: ServerSecurityAlertPolicy[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A list of the server's vulnerability assessments. */
export interface ServerVulnerabilityAssessmentListResult {
/**
* Array of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: ServerVulnerabilityAssessment[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A list of server encryption protectors. */
export interface EncryptionProtectorListResult {
/**
* Array of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: EncryptionProtector[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** Represents the response to a list server metrics request. */
export interface ServerUsageListResult {
/** The list of server metrics for the server. */
value: ServerUsage[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** Represents server metrics. */
export interface ServerUsage {
/**
* Name of the server usage metric.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly name?: string;
/**
* The name of the resource.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly resourceName?: string;
/**
* The metric display name.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly displayName?: string;
/**
* The current value of the metric.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly currentValue?: number;
/**
* The current limit of the metric.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly limit?: number;
/**
* The units of the metric.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly unit?: string;
/**
* The next reset time for the metric (ISO8601 format).
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextResetTime?: Date;
}
/** The response to a list recoverable sql pools request */
export interface RecoverableSqlPoolListResult {
/**
* A list of recoverable sql pool
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: RecoverableSqlPool[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A list of the server's dedicated sql minimal tls settings. */
export interface DedicatedSQLminimalTlsSettingsListResult {
/**
* Array of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: DedicatedSQLminimalTlsSettings[];
/**
* Link to retrieve next page of results.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** List of workspaces */
export interface WorkspaceInfoListResult {
/** Link to the next page of results */
nextLink?: string;
/** List of workspaces */
value?: Workspace[];
}
/** Details of the data lake storage account associated with the workspace */
export interface DataLakeStorageAccountDetails {
/** Account URL */
accountUrl?: string;
/** Filesystem name */
filesystem?: string;
/** ARM resource Id of this storage account */
resourceId?: string;
/** Create managed private endpoint to this storage account or not */
createManagedPrivateEndpoint?: boolean;
}
/** Virtual Network Profile */
export interface VirtualNetworkProfile {
/** Subnet ID used for computes in workspace */
computeSubnetId?: string;
}
/** Details of the encryption associated with the workspace */
export interface EncryptionDetails {
/**
* Double Encryption enabled
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly doubleEncryptionEnabled?: boolean;
/** Customer Managed Key Details */
cmk?: CustomerManagedKeyDetails;
}
/** Details of the customer managed key associated with the workspace */
export interface CustomerManagedKeyDetails {
/**
* The customer managed key status on the workspace
* NOTE: This property will not be serialized. It can only be populated by the server.
*/