@azure-rest/purview-scanning 1.0.0-alpha.20210901.2 → 1.0.0-beta.2

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,795 +1,563 @@
1
1
  import { Client } from '@azure-rest/core-client';
2
2
  import { ClientOptions } from '@azure-rest/core-client';
3
3
  import { HttpResponse } from '@azure-rest/core-client';
4
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
5
+ import { PathUncheckedResponse } from '@azure-rest/core-client';
4
6
  import { RequestParameters } from '@azure-rest/core-client';
5
7
  import { TokenCredential } from '@azure/core-auth';
6
8
 
7
- export declare type AdlsGen1CredentialScan = AdlsGen1CredentialScanBase & Scan;
8
-
9
- export declare interface AdlsGen1CredentialScanBase {
9
+ export declare interface AdlsGen1CredentialScan extends ScanBase {
10
10
  properties?: AdlsGen1CredentialScanPropertiesAutoGenerated;
11
+ kind: "AdlsGen1Credential";
11
12
  }
12
13
 
13
- export declare type AdlsGen1CredentialScanProperties = AdlsGen1CredentialScanPropertiesBase & ScanProperties;
14
-
15
- export declare type AdlsGen1CredentialScanPropertiesAutoGenerated = AdlsGen1CredentialScanPropertiesAutoGeneratedBase & AdlsGen1CredentialScanProperties;
16
-
17
- export declare interface AdlsGen1CredentialScanPropertiesAutoGeneratedBase {
18
- }
19
-
20
- export declare interface AdlsGen1CredentialScanPropertiesBase {
14
+ export declare interface AdlsGen1CredentialScanProperties extends ScanProperties {
21
15
  credential?: AdlsGen1CredentialScanPropertiesCredential;
22
16
  }
23
17
 
24
- export declare type AdlsGen1CredentialScanPropertiesCredential = AdlsGen1CredentialScanPropertiesCredentialBase & CredentialReference;
25
-
26
- export declare interface AdlsGen1CredentialScanPropertiesCredentialBase {
18
+ export declare interface AdlsGen1CredentialScanPropertiesAutoGenerated extends AdlsGen1CredentialScanProperties {
27
19
  }
28
20
 
29
- export declare type AdlsGen1DataSource = AdlsGen1DataSourceBase & DataSource;
21
+ export declare interface AdlsGen1CredentialScanPropertiesCredential extends CredentialReference {
22
+ }
30
23
 
31
- export declare interface AdlsGen1DataSourceBase {
24
+ export declare interface AdlsGen1DataSource extends DataSourceBase {
32
25
  properties?: AdlsGen1DataSourceProperties;
26
+ kind: "AdlsGen1";
33
27
  }
34
28
 
35
- export declare type AdlsGen1DataSourceProperties = AdlsGen1DataSourcePropertiesBase & AdlsGen1Properties;
36
-
37
- export declare interface AdlsGen1DataSourcePropertiesBase {
29
+ export declare interface AdlsGen1DataSourceProperties extends AdlsGen1Properties {
38
30
  }
39
31
 
40
- export declare type AdlsGen1MsiScan = AdlsGen1MsiScanBase & Scan;
41
-
42
- export declare interface AdlsGen1MsiScanBase {
32
+ export declare interface AdlsGen1MsiScan extends ScanBase {
43
33
  properties?: AdlsGen1MsiScanPropertiesAutoGenerated;
34
+ kind: "AdlsGen1Msi";
44
35
  }
45
36
 
46
- export declare type AdlsGen1MsiScanProperties = AdlsGen1MsiScanPropertiesBase & ScanProperties;
47
-
48
- export declare type AdlsGen1MsiScanPropertiesAutoGenerated = AdlsGen1MsiScanPropertiesAutoGeneratedBase & AdlsGen1MsiScanProperties;
49
-
50
- export declare interface AdlsGen1MsiScanPropertiesAutoGeneratedBase {
37
+ export declare interface AdlsGen1MsiScanProperties extends ScanProperties {
51
38
  }
52
39
 
53
- export declare interface AdlsGen1MsiScanPropertiesBase {
40
+ export declare interface AdlsGen1MsiScanPropertiesAutoGenerated extends AdlsGen1MsiScanProperties {
54
41
  }
55
42
 
56
- export declare type AdlsGen1Properties = AdlsGen1PropertiesBase & AzureDataSourceProperties;
57
-
58
- export declare interface AdlsGen1PropertiesBase {
43
+ export declare interface AdlsGen1Properties extends AzureDataSourceProperties {
59
44
  endpoint?: string;
60
45
  }
61
46
 
62
- export declare type AdlsGen1ScanRuleset = AdlsGen1ScanRulesetBase & ScanRuleset;
63
-
64
- export declare interface AdlsGen1ScanRulesetBase {
47
+ export declare interface AdlsGen1ScanRuleset extends ScanRulesetBase {
65
48
  properties?: AdlsGen1ScanRulesetPropertiesAutoGenerated;
49
+ kind: "AdlsGen1";
66
50
  }
67
51
 
68
- export declare type AdlsGen1ScanRulesetProperties = AdlsGen1ScanRulesetPropertiesBase & ScanningRuleScanRulesetProperties;
69
-
70
- export declare type AdlsGen1ScanRulesetPropertiesAutoGenerated = AdlsGen1ScanRulesetPropertiesAutoGeneratedBase & AdlsGen1ScanRulesetProperties;
71
-
72
- export declare interface AdlsGen1ScanRulesetPropertiesAutoGeneratedBase {
52
+ export declare interface AdlsGen1ScanRulesetProperties extends ScanningRuleScanRulesetProperties {
73
53
  }
74
54
 
75
- export declare interface AdlsGen1ScanRulesetPropertiesBase {
55
+ export declare interface AdlsGen1ScanRulesetPropertiesAutoGenerated extends AdlsGen1ScanRulesetProperties {
76
56
  }
77
57
 
78
- export declare type AdlsGen1SystemScanRuleset = AdlsGen1SystemScanRulesetBase & SystemScanRuleset;
79
-
80
- export declare interface AdlsGen1SystemScanRulesetBase {
58
+ export declare interface AdlsGen1SystemScanRuleset extends SystemScanRulesetBase {
81
59
  properties?: AdlsGen1SystemScanRulesetProperties;
60
+ kind: "None";
82
61
  }
83
62
 
84
- export declare type AdlsGen1SystemScanRulesetProperties = AdlsGen1SystemScanRulesetPropertiesBase & AdlsGen1ScanRulesetProperties;
85
-
86
- export declare interface AdlsGen1SystemScanRulesetPropertiesBase {
63
+ export declare interface AdlsGen1SystemScanRulesetProperties extends AdlsGen1ScanRulesetProperties {
87
64
  }
88
65
 
89
- export declare type AdlsGen2CredentialScan = AdlsGen2CredentialScanBase & Scan;
90
-
91
- export declare interface AdlsGen2CredentialScanBase {
66
+ export declare interface AdlsGen2CredentialScan extends ScanBase {
92
67
  properties?: AdlsGen2CredentialScanPropertiesAutoGenerated;
68
+ kind: "AdlsGen2Credential";
93
69
  }
94
70
 
95
- export declare type AdlsGen2CredentialScanProperties = AdlsGen2CredentialScanPropertiesBase & ScanProperties;
96
-
97
- export declare type AdlsGen2CredentialScanPropertiesAutoGenerated = AdlsGen2CredentialScanPropertiesAutoGeneratedBase & AdlsGen2CredentialScanProperties;
98
-
99
- export declare interface AdlsGen2CredentialScanPropertiesAutoGeneratedBase {
100
- }
101
-
102
- export declare interface AdlsGen2CredentialScanPropertiesBase {
71
+ export declare interface AdlsGen2CredentialScanProperties extends ScanProperties {
103
72
  credential?: AdlsGen2CredentialScanPropertiesCredential;
104
73
  }
105
74
 
106
- export declare type AdlsGen2CredentialScanPropertiesCredential = AdlsGen2CredentialScanPropertiesCredentialBase & CredentialReference;
107
-
108
- export declare interface AdlsGen2CredentialScanPropertiesCredentialBase {
75
+ export declare interface AdlsGen2CredentialScanPropertiesAutoGenerated extends AdlsGen2CredentialScanProperties {
109
76
  }
110
77
 
111
- export declare type AdlsGen2DataSource = AdlsGen2DataSourceBase & DataSource;
78
+ export declare interface AdlsGen2CredentialScanPropertiesCredential extends CredentialReference {
79
+ }
112
80
 
113
- export declare interface AdlsGen2DataSourceBase {
81
+ export declare interface AdlsGen2DataSource extends DataSourceBase {
114
82
  properties?: AdlsGen2DataSourceProperties;
83
+ kind: "AdlsGen2";
115
84
  }
116
85
 
117
- export declare type AdlsGen2DataSourceProperties = AdlsGen2DataSourcePropertiesBase & AdlsGen2Properties;
118
-
119
- export declare interface AdlsGen2DataSourcePropertiesBase {
86
+ export declare interface AdlsGen2DataSourceProperties extends AdlsGen2Properties {
120
87
  }
121
88
 
122
- export declare type AdlsGen2MsiScan = AdlsGen2MsiScanBase & Scan;
123
-
124
- export declare interface AdlsGen2MsiScanBase {
89
+ export declare interface AdlsGen2MsiScan extends ScanBase {
125
90
  properties?: AdlsGen2MsiScanPropertiesAutoGenerated;
91
+ kind: "AdlsGen2Msi";
126
92
  }
127
93
 
128
- export declare type AdlsGen2MsiScanProperties = AdlsGen2MsiScanPropertiesBase & ScanProperties;
129
-
130
- export declare type AdlsGen2MsiScanPropertiesAutoGenerated = AdlsGen2MsiScanPropertiesAutoGeneratedBase & AdlsGen2MsiScanProperties;
131
-
132
- export declare interface AdlsGen2MsiScanPropertiesAutoGeneratedBase {
94
+ export declare interface AdlsGen2MsiScanProperties extends ScanProperties {
133
95
  }
134
96
 
135
- export declare interface AdlsGen2MsiScanPropertiesBase {
97
+ export declare interface AdlsGen2MsiScanPropertiesAutoGenerated extends AdlsGen2MsiScanProperties {
136
98
  }
137
99
 
138
- export declare type AdlsGen2Properties = AdlsGen2PropertiesBase & AzureDataSourceProperties;
139
-
140
- export declare interface AdlsGen2PropertiesBase {
100
+ export declare interface AdlsGen2Properties extends AzureDataSourceProperties {
141
101
  endpoint?: string;
142
102
  }
143
103
 
144
- export declare type AdlsGen2ScanRuleset = AdlsGen2ScanRulesetBase & ScanRuleset;
145
-
146
- export declare interface AdlsGen2ScanRulesetBase {
104
+ export declare interface AdlsGen2ScanRuleset extends ScanRulesetBase {
147
105
  properties?: AdlsGen2ScanRulesetPropertiesAutoGenerated;
106
+ kind: "AdlsGen2";
148
107
  }
149
108
 
150
- export declare type AdlsGen2ScanRulesetProperties = AdlsGen2ScanRulesetPropertiesBase & ScanningRuleScanRulesetProperties;
151
-
152
- export declare type AdlsGen2ScanRulesetPropertiesAutoGenerated = AdlsGen2ScanRulesetPropertiesAutoGeneratedBase & AdlsGen2ScanRulesetProperties;
153
-
154
- export declare interface AdlsGen2ScanRulesetPropertiesAutoGeneratedBase {
109
+ export declare interface AdlsGen2ScanRulesetProperties extends ScanningRuleScanRulesetProperties {
155
110
  }
156
111
 
157
- export declare interface AdlsGen2ScanRulesetPropertiesBase {
112
+ export declare interface AdlsGen2ScanRulesetPropertiesAutoGenerated extends AdlsGen2ScanRulesetProperties {
158
113
  }
159
114
 
160
- export declare type AdlsGen2SystemScanRuleset = AdlsGen2SystemScanRulesetBase & SystemScanRuleset;
161
-
162
- export declare interface AdlsGen2SystemScanRulesetBase {
115
+ export declare interface AdlsGen2SystemScanRuleset extends SystemScanRulesetBase {
163
116
  properties?: AdlsGen2SystemScanRulesetProperties;
117
+ kind: "None";
164
118
  }
165
119
 
166
- export declare type AdlsGen2SystemScanRulesetProperties = AdlsGen2SystemScanRulesetPropertiesBase & AdlsGen2ScanRulesetProperties;
167
-
168
- export declare interface AdlsGen2SystemScanRulesetPropertiesBase {
120
+ export declare interface AdlsGen2SystemScanRulesetProperties extends AdlsGen2ScanRulesetProperties {
169
121
  }
170
122
 
171
- export declare type AmazonAccountCredentialScan = AmazonAccountCredentialScanBase & Scan;
172
-
173
- export declare interface AmazonAccountCredentialScanBase {
123
+ export declare interface AmazonAccountCredentialScan extends ScanBase {
174
124
  properties?: AmazonAccountCredentialScanPropertiesAutoGenerated;
125
+ kind: "AmazonAccountCredential";
175
126
  }
176
127
 
177
- export declare type AmazonAccountCredentialScanProperties = AmazonAccountCredentialScanPropertiesBase & ExpandingResourceScanProperties;
178
-
179
- export declare type AmazonAccountCredentialScanPropertiesAutoGenerated = AmazonAccountCredentialScanPropertiesAutoGeneratedBase & AmazonAccountCredentialScanProperties;
180
-
181
- export declare interface AmazonAccountCredentialScanPropertiesAutoGeneratedBase {
128
+ export declare interface AmazonAccountCredentialScanProperties extends ExpandingResourceScanProperties {
182
129
  }
183
130
 
184
- export declare interface AmazonAccountCredentialScanPropertiesBase {
131
+ export declare interface AmazonAccountCredentialScanPropertiesAutoGenerated extends AmazonAccountCredentialScanProperties {
185
132
  }
186
133
 
187
- export declare type AmazonAccountDataSource = AmazonAccountDataSourceBase & DataSource;
188
-
189
- export declare interface AmazonAccountDataSourceBase {
134
+ export declare interface AmazonAccountDataSource extends DataSourceBase {
190
135
  properties?: AmazonAccountDataSourceProperties;
136
+ kind: "AmazonAccount";
191
137
  }
192
138
 
193
- export declare type AmazonAccountDataSourceProperties = AmazonAccountDataSourcePropertiesBase & AmazonAccountProperties;
194
-
195
- export declare interface AmazonAccountDataSourcePropertiesBase {
139
+ export declare interface AmazonAccountDataSourceProperties extends AmazonAccountProperties {
196
140
  }
197
141
 
198
- export declare type AmazonAccountProperties = AmazonAccountPropertiesBase & DataSourceProperties;
199
-
200
- export declare interface AmazonAccountPropertiesBase {
142
+ export declare interface AmazonAccountProperties extends DataSourceProperties {
201
143
  awsAccountId?: string;
202
144
  roleARN?: string;
203
145
  }
204
146
 
205
- export declare type AmazonAccountScanRuleset = AmazonAccountScanRulesetBase & ScanRuleset;
206
-
207
- export declare interface AmazonAccountScanRulesetBase {
147
+ export declare interface AmazonAccountScanRuleset extends ScanRulesetBase {
208
148
  properties?: AmazonAccountScanRulesetPropertiesAutoGenerated;
149
+ kind: "AmazonAccount";
209
150
  }
210
151
 
211
- export declare type AmazonAccountScanRulesetProperties = AmazonAccountScanRulesetPropertiesBase & ScanRulesetProperties;
212
-
213
- export declare type AmazonAccountScanRulesetPropertiesAutoGenerated = AmazonAccountScanRulesetPropertiesAutoGeneratedBase & AmazonAccountScanRulesetProperties;
214
-
215
- export declare interface AmazonAccountScanRulesetPropertiesAutoGeneratedBase {
152
+ export declare interface AmazonAccountScanRulesetProperties extends ScanRulesetProperties {
216
153
  }
217
154
 
218
- export declare interface AmazonAccountScanRulesetPropertiesBase {
155
+ export declare interface AmazonAccountScanRulesetPropertiesAutoGenerated extends AmazonAccountScanRulesetProperties {
219
156
  }
220
157
 
221
- export declare type AmazonAccountSystemScanRuleset = AmazonAccountSystemScanRulesetBase & SystemScanRuleset;
222
-
223
- export declare interface AmazonAccountSystemScanRulesetBase {
158
+ export declare interface AmazonAccountSystemScanRuleset extends SystemScanRulesetBase {
224
159
  properties?: AmazonAccountSystemScanRulesetProperties;
160
+ kind: "None";
225
161
  }
226
162
 
227
- export declare type AmazonAccountSystemScanRulesetProperties = AmazonAccountSystemScanRulesetPropertiesBase & AmazonAccountScanRulesetProperties;
228
-
229
- export declare interface AmazonAccountSystemScanRulesetPropertiesBase {
163
+ export declare interface AmazonAccountSystemScanRulesetProperties extends AmazonAccountScanRulesetProperties {
230
164
  }
231
165
 
232
- export declare type AmazonPostgreSqlCredentialScan = AmazonPostgreSqlCredentialScanBase & Scan;
233
-
234
- export declare interface AmazonPostgreSqlCredentialScanBase {
166
+ export declare interface AmazonPostgreSqlCredentialScan extends ScanBase {
235
167
  properties?: AmazonPostgreSqlCredentialScanPropertiesAutoGenerated;
168
+ kind: "AmazonPostgreSqlCredential";
236
169
  }
237
170
 
238
- export declare type AmazonPostgreSqlCredentialScanProperties = AmazonPostgreSqlCredentialScanPropertiesBase & ScanProperties;
239
-
240
- export declare type AmazonPostgreSqlCredentialScanPropertiesAutoGenerated = AmazonPostgreSqlCredentialScanPropertiesAutoGeneratedBase & AmazonPostgreSqlCredentialScanProperties;
241
-
242
- export declare interface AmazonPostgreSqlCredentialScanPropertiesAutoGeneratedBase {
243
- }
244
-
245
- export declare interface AmazonPostgreSqlCredentialScanPropertiesBase {
171
+ export declare interface AmazonPostgreSqlCredentialScanProperties extends ScanProperties {
246
172
  credential?: AmazonPostgreSqlCredentialScanPropertiesCredential;
247
173
  serverEndpoint?: string;
248
174
  databaseName?: string;
249
175
  port?: string;
250
176
  }
251
177
 
252
- export declare type AmazonPostgreSqlCredentialScanPropertiesCredential = AmazonPostgreSqlCredentialScanPropertiesCredentialBase & CredentialReference;
253
-
254
- export declare interface AmazonPostgreSqlCredentialScanPropertiesCredentialBase {
178
+ export declare interface AmazonPostgreSqlCredentialScanPropertiesAutoGenerated extends AmazonPostgreSqlCredentialScanProperties {
255
179
  }
256
180
 
257
- export declare type AmazonPostgreSqlDataSource = AmazonPostgreSqlDataSourceBase & DataSource;
181
+ export declare interface AmazonPostgreSqlCredentialScanPropertiesCredential extends CredentialReference {
182
+ }
258
183
 
259
- export declare interface AmazonPostgreSqlDataSourceBase {
184
+ export declare interface AmazonPostgreSqlDataSource extends DataSourceBase {
260
185
  properties?: AmazonPostgreSqlDataSourceProperties;
186
+ kind: "AmazonPostgreSql";
261
187
  }
262
188
 
263
- export declare type AmazonPostgreSqlDataSourceProperties = AmazonPostgreSqlDataSourcePropertiesBase & AmazonPostgreSqlProperties;
264
-
265
- export declare interface AmazonPostgreSqlDataSourcePropertiesBase {
189
+ export declare interface AmazonPostgreSqlDataSourceProperties extends AmazonPostgreSqlProperties {
266
190
  }
267
191
 
268
- export declare type AmazonPostgreSqlProperties = AmazonPostgreSqlPropertiesBase & DataSourceProperties;
269
-
270
- export declare interface AmazonPostgreSqlPropertiesBase {
192
+ export declare interface AmazonPostgreSqlProperties extends DataSourceProperties {
271
193
  serverEndpoint?: string;
272
194
  port?: string;
273
195
  }
274
196
 
275
- export declare type AmazonPostgreSqlScanRuleset = AmazonPostgreSqlScanRulesetBase & ScanRuleset;
276
-
277
- export declare interface AmazonPostgreSqlScanRulesetBase {
197
+ export declare interface AmazonPostgreSqlScanRuleset extends ScanRulesetBase {
278
198
  properties?: AmazonPostgreSqlScanRulesetPropertiesAutoGenerated;
199
+ kind: "AmazonPostgreSql";
279
200
  }
280
201
 
281
- export declare type AmazonPostgreSqlScanRulesetProperties = AmazonPostgreSqlScanRulesetPropertiesBase & ScanRulesetProperties;
282
-
283
- export declare type AmazonPostgreSqlScanRulesetPropertiesAutoGenerated = AmazonPostgreSqlScanRulesetPropertiesAutoGeneratedBase & AmazonPostgreSqlScanRulesetProperties;
284
-
285
- export declare interface AmazonPostgreSqlScanRulesetPropertiesAutoGeneratedBase {
202
+ export declare interface AmazonPostgreSqlScanRulesetProperties extends ScanRulesetProperties {
286
203
  }
287
204
 
288
- export declare interface AmazonPostgreSqlScanRulesetPropertiesBase {
205
+ export declare interface AmazonPostgreSqlScanRulesetPropertiesAutoGenerated extends AmazonPostgreSqlScanRulesetProperties {
289
206
  }
290
207
 
291
- export declare type AmazonPostgreSqlSystemScanRuleset = AmazonPostgreSqlSystemScanRulesetBase & SystemScanRuleset;
292
-
293
- export declare interface AmazonPostgreSqlSystemScanRulesetBase {
208
+ export declare interface AmazonPostgreSqlSystemScanRuleset extends SystemScanRulesetBase {
294
209
  properties?: AmazonPostgreSqlSystemScanRulesetProperties;
210
+ kind: "None";
295
211
  }
296
212
 
297
- export declare type AmazonPostgreSqlSystemScanRulesetProperties = AmazonPostgreSqlSystemScanRulesetPropertiesBase & AmazonPostgreSqlScanRulesetProperties;
298
-
299
- export declare interface AmazonPostgreSqlSystemScanRulesetPropertiesBase {
213
+ export declare interface AmazonPostgreSqlSystemScanRulesetProperties extends AmazonPostgreSqlScanRulesetProperties {
300
214
  }
301
215
 
302
- export declare type AmazonS3CredentialScan = AmazonS3CredentialScanBase & Scan;
303
-
304
- export declare interface AmazonS3CredentialScanBase {
216
+ export declare interface AmazonS3CredentialScan extends ScanBase {
305
217
  properties?: AmazonS3CredentialScanPropertiesAutoGenerated;
218
+ kind: "AmazonS3Credential";
306
219
  }
307
220
 
308
- export declare type AmazonS3CredentialScanProperties = AmazonS3CredentialScanPropertiesBase & ScanProperties;
309
-
310
- export declare type AmazonS3CredentialScanPropertiesAutoGenerated = AmazonS3CredentialScanPropertiesAutoGeneratedBase & AmazonS3CredentialScanProperties;
311
-
312
- export declare interface AmazonS3CredentialScanPropertiesAutoGeneratedBase {
313
- }
314
-
315
- export declare interface AmazonS3CredentialScanPropertiesBase {
221
+ export declare interface AmazonS3CredentialScanProperties extends ScanProperties {
316
222
  credential?: AmazonS3CredentialScanPropertiesCredential;
317
223
  roleARN?: string;
318
224
  }
319
225
 
320
- export declare type AmazonS3CredentialScanPropertiesCredential = AmazonS3CredentialScanPropertiesCredentialBase & CredentialReference;
321
-
322
- export declare interface AmazonS3CredentialScanPropertiesCredentialBase {
226
+ export declare interface AmazonS3CredentialScanPropertiesAutoGenerated extends AmazonS3CredentialScanProperties {
323
227
  }
324
228
 
325
- export declare type AmazonS3DataSource = AmazonS3DataSourceBase & DataSource;
229
+ export declare interface AmazonS3CredentialScanPropertiesCredential extends CredentialReference {
230
+ }
326
231
 
327
- export declare interface AmazonS3DataSourceBase {
232
+ export declare interface AmazonS3DataSource extends DataSourceBase {
328
233
  properties?: AmazonS3DataSourceProperties;
234
+ kind: "AmazonS3";
329
235
  }
330
236
 
331
- export declare type AmazonS3DataSourceProperties = AmazonS3DataSourcePropertiesBase & AmazonS3Properties;
332
-
333
- export declare interface AmazonS3DataSourcePropertiesBase {
237
+ export declare interface AmazonS3DataSourceProperties extends AmazonS3Properties {
334
238
  }
335
239
 
336
- export declare type AmazonS3Properties = AmazonS3PropertiesBase & DataSourceProperties;
337
-
338
- export declare interface AmazonS3PropertiesBase {
240
+ export declare interface AmazonS3Properties extends DataSourceProperties {
339
241
  serviceUrl?: string;
340
242
  roleARN?: string;
341
243
  }
342
244
 
343
- export declare type AmazonS3RoleARNScan = AmazonS3RoleARNScanBase & Scan;
344
-
345
- export declare interface AmazonS3RoleARNScanBase {
245
+ export declare interface AmazonS3RoleARNScan extends ScanBase {
346
246
  properties?: AmazonS3RoleARNScanPropertiesAutoGenerated;
247
+ kind: "AmazonS3RoleARN";
347
248
  }
348
249
 
349
- export declare type AmazonS3RoleARNScanProperties = AmazonS3RoleARNScanPropertiesBase & ScanProperties;
350
-
351
- export declare type AmazonS3RoleARNScanPropertiesAutoGenerated = AmazonS3RoleARNScanPropertiesAutoGeneratedBase & AmazonS3RoleARNScanProperties;
352
-
353
- export declare interface AmazonS3RoleARNScanPropertiesAutoGeneratedBase {
354
- }
355
-
356
- export declare interface AmazonS3RoleARNScanPropertiesBase {
250
+ export declare interface AmazonS3RoleARNScanProperties extends ScanProperties {
357
251
  roleARN?: string;
358
252
  }
359
253
 
360
- export declare type AmazonS3ScanRuleset = AmazonS3ScanRulesetBase & ScanRuleset;
254
+ export declare interface AmazonS3RoleARNScanPropertiesAutoGenerated extends AmazonS3RoleARNScanProperties {
255
+ }
361
256
 
362
- export declare interface AmazonS3ScanRulesetBase {
257
+ export declare interface AmazonS3ScanRuleset extends ScanRulesetBase {
363
258
  properties?: AmazonS3ScanRulesetPropertiesAutoGenerated;
259
+ kind: "AmazonS3";
364
260
  }
365
261
 
366
- export declare type AmazonS3ScanRulesetProperties = AmazonS3ScanRulesetPropertiesBase & ScanningRuleScanRulesetProperties;
367
-
368
- export declare type AmazonS3ScanRulesetPropertiesAutoGenerated = AmazonS3ScanRulesetPropertiesAutoGeneratedBase & AmazonS3ScanRulesetProperties;
369
-
370
- export declare interface AmazonS3ScanRulesetPropertiesAutoGeneratedBase {
262
+ export declare interface AmazonS3ScanRulesetProperties extends ScanningRuleScanRulesetProperties {
371
263
  }
372
264
 
373
- export declare interface AmazonS3ScanRulesetPropertiesBase {
265
+ export declare interface AmazonS3ScanRulesetPropertiesAutoGenerated extends AmazonS3ScanRulesetProperties {
374
266
  }
375
267
 
376
- export declare type AmazonS3SystemScanRuleset = AmazonS3SystemScanRulesetBase & SystemScanRuleset;
377
-
378
- export declare interface AmazonS3SystemScanRulesetBase {
268
+ export declare interface AmazonS3SystemScanRuleset extends SystemScanRulesetBase {
379
269
  properties?: AmazonS3SystemScanRulesetProperties;
270
+ kind: "None";
380
271
  }
381
272
 
382
- export declare type AmazonS3SystemScanRulesetProperties = AmazonS3SystemScanRulesetPropertiesBase & AmazonS3ScanRulesetProperties;
383
-
384
- export declare interface AmazonS3SystemScanRulesetPropertiesBase {
273
+ export declare interface AmazonS3SystemScanRulesetProperties extends AmazonS3ScanRulesetProperties {
385
274
  }
386
275
 
387
- export declare type AmazonSqlCredentialScan = AmazonSqlCredentialScanBase & Scan;
388
-
389
- export declare interface AmazonSqlCredentialScanBase {
276
+ export declare interface AmazonSqlCredentialScan extends ScanBase {
390
277
  properties?: AmazonSqlCredentialScanPropertiesAutoGenerated;
278
+ kind: "AmazonSqlCredential";
391
279
  }
392
280
 
393
- export declare type AmazonSqlCredentialScanProperties = AmazonSqlCredentialScanPropertiesBase & ScanProperties;
394
-
395
- export declare type AmazonSqlCredentialScanPropertiesAutoGenerated = AmazonSqlCredentialScanPropertiesAutoGeneratedBase & AmazonSqlCredentialScanProperties;
396
-
397
- export declare interface AmazonSqlCredentialScanPropertiesAutoGeneratedBase {
398
- }
399
-
400
- export declare interface AmazonSqlCredentialScanPropertiesBase {
281
+ export declare interface AmazonSqlCredentialScanProperties extends ScanProperties {
401
282
  credential?: AmazonSqlCredentialScanPropertiesCredential;
402
283
  serverEndpoint?: string;
403
284
  databaseName?: string;
404
285
  }
405
286
 
406
- export declare type AmazonSqlCredentialScanPropertiesCredential = AmazonSqlCredentialScanPropertiesCredentialBase & CredentialReference;
407
-
408
- export declare interface AmazonSqlCredentialScanPropertiesCredentialBase {
287
+ export declare interface AmazonSqlCredentialScanPropertiesAutoGenerated extends AmazonSqlCredentialScanProperties {
409
288
  }
410
289
 
411
- export declare type AmazonSqlDataSource = AmazonSqlDataSourceBase & DataSource;
290
+ export declare interface AmazonSqlCredentialScanPropertiesCredential extends CredentialReference {
291
+ }
412
292
 
413
- export declare interface AmazonSqlDataSourceBase {
293
+ export declare interface AmazonSqlDataSource extends DataSourceBase {
414
294
  properties?: AmazonSqlDataSourceProperties;
295
+ kind: "AmazonSql";
415
296
  }
416
297
 
417
- export declare type AmazonSqlDataSourceProperties = AmazonSqlDataSourcePropertiesBase & AmazonSqlProperties;
418
-
419
- export declare interface AmazonSqlDataSourcePropertiesBase {
298
+ export declare interface AmazonSqlDataSourceProperties extends AmazonSqlProperties {
420
299
  }
421
300
 
422
- export declare type AmazonSqlProperties = AmazonSqlPropertiesBase & DataSourceProperties;
423
-
424
- export declare interface AmazonSqlPropertiesBase {
301
+ export declare interface AmazonSqlProperties extends DataSourceProperties {
425
302
  serverEndpoint?: string;
426
303
  }
427
304
 
428
- export declare type AmazonSqlScanRuleset = AmazonSqlScanRulesetBase & ScanRuleset;
429
-
430
- export declare interface AmazonSqlScanRulesetBase {
305
+ export declare interface AmazonSqlScanRuleset extends ScanRulesetBase {
431
306
  properties?: AmazonSqlScanRulesetPropertiesAutoGenerated;
307
+ kind: "AmazonSql";
432
308
  }
433
309
 
434
- export declare type AmazonSqlScanRulesetProperties = AmazonSqlScanRulesetPropertiesBase & ScanRulesetProperties;
435
-
436
- export declare type AmazonSqlScanRulesetPropertiesAutoGenerated = AmazonSqlScanRulesetPropertiesAutoGeneratedBase & AmazonSqlScanRulesetProperties;
437
-
438
- export declare interface AmazonSqlScanRulesetPropertiesAutoGeneratedBase {
310
+ export declare interface AmazonSqlScanRulesetProperties extends ScanRulesetProperties {
439
311
  }
440
312
 
441
- export declare interface AmazonSqlScanRulesetPropertiesBase {
313
+ export declare interface AmazonSqlScanRulesetPropertiesAutoGenerated extends AmazonSqlScanRulesetProperties {
442
314
  }
443
315
 
444
- export declare type AmazonSqlSystemScanRuleset = AmazonSqlSystemScanRulesetBase & SystemScanRuleset;
445
-
446
- export declare interface AmazonSqlSystemScanRulesetBase {
316
+ export declare interface AmazonSqlSystemScanRuleset extends SystemScanRulesetBase {
447
317
  properties?: AmazonSqlSystemScanRulesetProperties;
318
+ kind: "None";
448
319
  }
449
320
 
450
- export declare type AmazonSqlSystemScanRulesetProperties = AmazonSqlSystemScanRulesetPropertiesBase & AmazonSqlScanRulesetProperties;
451
-
452
- export declare interface AmazonSqlSystemScanRulesetPropertiesBase {
321
+ export declare interface AmazonSqlSystemScanRulesetProperties extends AmazonSqlScanRulesetProperties {
453
322
  }
454
323
 
455
- export declare type AzureCosmosDbCredentialScan = AzureCosmosDbCredentialScanBase & Scan;
456
-
457
- export declare interface AzureCosmosDbCredentialScanBase {
324
+ export declare interface AzureCosmosDbCredentialScan extends ScanBase {
458
325
  properties?: AzureCosmosDbCredentialScanPropertiesAutoGenerated;
326
+ kind: "AzureCosmosDbCredential";
459
327
  }
460
328
 
461
- export declare type AzureCosmosDbCredentialScanProperties = AzureCosmosDbCredentialScanPropertiesBase & ScanProperties;
462
-
463
- export declare type AzureCosmosDbCredentialScanPropertiesAutoGenerated = AzureCosmosDbCredentialScanPropertiesAutoGeneratedBase & AzureCosmosDbCredentialScanProperties;
464
-
465
- export declare interface AzureCosmosDbCredentialScanPropertiesAutoGeneratedBase {
466
- }
467
-
468
- export declare interface AzureCosmosDbCredentialScanPropertiesBase {
329
+ export declare interface AzureCosmosDbCredentialScanProperties extends ScanProperties {
469
330
  credential?: AzureCosmosDbCredentialScanPropertiesCredential;
470
331
  databaseName?: string;
471
332
  }
472
333
 
473
- export declare type AzureCosmosDbCredentialScanPropertiesCredential = AzureCosmosDbCredentialScanPropertiesCredentialBase & CredentialReference;
474
-
475
- export declare interface AzureCosmosDbCredentialScanPropertiesCredentialBase {
334
+ export declare interface AzureCosmosDbCredentialScanPropertiesAutoGenerated extends AzureCosmosDbCredentialScanProperties {
476
335
  }
477
336
 
478
- export declare type AzureCosmosDbDataSource = AzureCosmosDbDataSourceBase & DataSource;
337
+ export declare interface AzureCosmosDbCredentialScanPropertiesCredential extends CredentialReference {
338
+ }
479
339
 
480
- export declare interface AzureCosmosDbDataSourceBase {
340
+ export declare interface AzureCosmosDbDataSource extends DataSourceBase {
481
341
  properties?: AzureCosmosDbDataSourceProperties;
342
+ kind: "AzureCosmosDb";
482
343
  }
483
344
 
484
- export declare type AzureCosmosDbDataSourceProperties = AzureCosmosDbDataSourcePropertiesBase & AzureCosmosDbProperties;
485
-
486
- export declare interface AzureCosmosDbDataSourcePropertiesBase {
345
+ export declare interface AzureCosmosDbDataSourceProperties extends AzureCosmosDbProperties {
487
346
  }
488
347
 
489
- export declare type AzureCosmosDbProperties = AzureCosmosDbPropertiesBase & AzureDataSourceProperties;
490
-
491
- export declare interface AzureCosmosDbPropertiesBase {
348
+ export declare interface AzureCosmosDbProperties extends AzureDataSourceProperties {
492
349
  accountUri?: string;
493
350
  }
494
351
 
495
- export declare type AzureCosmosDbScanRuleset = AzureCosmosDbScanRulesetBase & ScanRuleset;
496
-
497
- export declare interface AzureCosmosDbScanRulesetBase {
352
+ export declare interface AzureCosmosDbScanRuleset extends ScanRulesetBase {
498
353
  properties?: AzureCosmosDbScanRulesetPropertiesAutoGenerated;
354
+ kind: "AzureCosmosDb";
499
355
  }
500
356
 
501
- export declare type AzureCosmosDbScanRulesetProperties = AzureCosmosDbScanRulesetPropertiesBase & ScanRulesetProperties;
502
-
503
- export declare type AzureCosmosDbScanRulesetPropertiesAutoGenerated = AzureCosmosDbScanRulesetPropertiesAutoGeneratedBase & AzureCosmosDbScanRulesetProperties;
504
-
505
- export declare interface AzureCosmosDbScanRulesetPropertiesAutoGeneratedBase {
357
+ export declare interface AzureCosmosDbScanRulesetProperties extends ScanRulesetProperties {
506
358
  }
507
359
 
508
- export declare interface AzureCosmosDbScanRulesetPropertiesBase {
360
+ export declare interface AzureCosmosDbScanRulesetPropertiesAutoGenerated extends AzureCosmosDbScanRulesetProperties {
509
361
  }
510
362
 
511
- export declare type AzureCosmosDbSystemScanRuleset = AzureCosmosDbSystemScanRulesetBase & SystemScanRuleset;
512
-
513
- export declare interface AzureCosmosDbSystemScanRulesetBase {
363
+ export declare interface AzureCosmosDbSystemScanRuleset extends SystemScanRulesetBase {
514
364
  properties?: AzureCosmosDbSystemScanRulesetProperties;
365
+ kind: "None";
515
366
  }
516
367
 
517
- export declare type AzureCosmosDbSystemScanRulesetProperties = AzureCosmosDbSystemScanRulesetPropertiesBase & AzureCosmosDbScanRulesetProperties;
518
-
519
- export declare interface AzureCosmosDbSystemScanRulesetPropertiesBase {
368
+ export declare interface AzureCosmosDbSystemScanRulesetProperties extends AzureCosmosDbScanRulesetProperties {
520
369
  }
521
370
 
522
- export declare type AzureDataExplorerCredentialScan = AzureDataExplorerCredentialScanBase & Scan;
523
-
524
- export declare interface AzureDataExplorerCredentialScanBase {
371
+ export declare interface AzureDataExplorerCredentialScan extends ScanBase {
525
372
  properties?: AzureDataExplorerCredentialScanPropertiesAutoGenerated;
373
+ kind: "AzureDataExplorerCredential";
526
374
  }
527
375
 
528
- export declare type AzureDataExplorerCredentialScanProperties = AzureDataExplorerCredentialScanPropertiesBase & ScanProperties;
529
-
530
- export declare type AzureDataExplorerCredentialScanPropertiesAutoGenerated = AzureDataExplorerCredentialScanPropertiesAutoGeneratedBase & AzureDataExplorerCredentialScanProperties;
531
-
532
- export declare interface AzureDataExplorerCredentialScanPropertiesAutoGeneratedBase {
533
- }
534
-
535
- export declare interface AzureDataExplorerCredentialScanPropertiesBase {
376
+ export declare interface AzureDataExplorerCredentialScanProperties extends ScanProperties {
536
377
  credential?: AzureDataExplorerCredentialScanPropertiesCredential;
537
378
  database?: string;
538
379
  }
539
380
 
540
- export declare type AzureDataExplorerCredentialScanPropertiesCredential = AzureDataExplorerCredentialScanPropertiesCredentialBase & CredentialReference;
541
-
542
- export declare interface AzureDataExplorerCredentialScanPropertiesCredentialBase {
381
+ export declare interface AzureDataExplorerCredentialScanPropertiesAutoGenerated extends AzureDataExplorerCredentialScanProperties {
543
382
  }
544
383
 
545
- export declare type AzureDataExplorerDataSource = AzureDataExplorerDataSourceBase & DataSource;
384
+ export declare interface AzureDataExplorerCredentialScanPropertiesCredential extends CredentialReference {
385
+ }
546
386
 
547
- export declare interface AzureDataExplorerDataSourceBase {
387
+ export declare interface AzureDataExplorerDataSource extends DataSourceBase {
548
388
  properties?: AzureDataExplorerDataSourceProperties;
389
+ kind: "AzureDataExplorer";
549
390
  }
550
391
 
551
- export declare type AzureDataExplorerDataSourceProperties = AzureDataExplorerDataSourcePropertiesBase & AzureDataExplorerProperties;
552
-
553
- export declare interface AzureDataExplorerDataSourcePropertiesBase {
392
+ export declare interface AzureDataExplorerDataSourceProperties extends AzureDataExplorerProperties {
554
393
  }
555
394
 
556
- export declare type AzureDataExplorerMsiScan = AzureDataExplorerMsiScanBase & Scan;
557
-
558
- export declare interface AzureDataExplorerMsiScanBase {
395
+ export declare interface AzureDataExplorerMsiScan extends ScanBase {
559
396
  properties?: AzureDataExplorerMsiScanPropertiesAutoGenerated;
397
+ kind: "AzureDataExplorerMsi";
560
398
  }
561
399
 
562
- export declare type AzureDataExplorerMsiScanProperties = AzureDataExplorerMsiScanPropertiesBase & ScanProperties;
563
-
564
- export declare type AzureDataExplorerMsiScanPropertiesAutoGenerated = AzureDataExplorerMsiScanPropertiesAutoGeneratedBase & AzureDataExplorerMsiScanProperties;
565
-
566
- export declare interface AzureDataExplorerMsiScanPropertiesAutoGeneratedBase {
567
- }
568
-
569
- export declare interface AzureDataExplorerMsiScanPropertiesBase {
400
+ export declare interface AzureDataExplorerMsiScanProperties extends ScanProperties {
570
401
  database?: string;
571
402
  }
572
403
 
573
- export declare type AzureDataExplorerProperties = AzureDataExplorerPropertiesBase & AzureDataSourceProperties;
404
+ export declare interface AzureDataExplorerMsiScanPropertiesAutoGenerated extends AzureDataExplorerMsiScanProperties {
405
+ }
574
406
 
575
- export declare interface AzureDataExplorerPropertiesBase {
407
+ export declare interface AzureDataExplorerProperties extends AzureDataSourceProperties {
576
408
  endpoint?: string;
577
409
  }
578
410
 
579
- export declare type AzureDataExplorerScanRuleset = AzureDataExplorerScanRulesetBase & ScanRuleset;
580
-
581
- export declare interface AzureDataExplorerScanRulesetBase {
411
+ export declare interface AzureDataExplorerScanRuleset extends ScanRulesetBase {
582
412
  properties?: AzureDataExplorerScanRulesetPropertiesAutoGenerated;
413
+ kind: "AzureDataExplorer";
583
414
  }
584
415
 
585
- export declare type AzureDataExplorerScanRulesetProperties = AzureDataExplorerScanRulesetPropertiesBase & ScanRulesetProperties;
586
-
587
- export declare type AzureDataExplorerScanRulesetPropertiesAutoGenerated = AzureDataExplorerScanRulesetPropertiesAutoGeneratedBase & AzureDataExplorerScanRulesetProperties;
588
-
589
- export declare interface AzureDataExplorerScanRulesetPropertiesAutoGeneratedBase {
416
+ export declare interface AzureDataExplorerScanRulesetProperties extends ScanRulesetProperties {
590
417
  }
591
418
 
592
- export declare interface AzureDataExplorerScanRulesetPropertiesBase {
419
+ export declare interface AzureDataExplorerScanRulesetPropertiesAutoGenerated extends AzureDataExplorerScanRulesetProperties {
593
420
  }
594
421
 
595
- export declare type AzureDataExplorerSystemScanRuleset = AzureDataExplorerSystemScanRulesetBase & SystemScanRuleset;
596
-
597
- export declare interface AzureDataExplorerSystemScanRulesetBase {
422
+ export declare interface AzureDataExplorerSystemScanRuleset extends SystemScanRulesetBase {
598
423
  properties?: AzureDataExplorerSystemScanRulesetProperties;
424
+ kind: "None";
599
425
  }
600
426
 
601
- export declare type AzureDataExplorerSystemScanRulesetProperties = AzureDataExplorerSystemScanRulesetPropertiesBase & AzureDataExplorerScanRulesetProperties;
602
-
603
- export declare interface AzureDataExplorerSystemScanRulesetPropertiesBase {
427
+ export declare interface AzureDataExplorerSystemScanRulesetProperties extends AzureDataExplorerScanRulesetProperties {
604
428
  }
605
429
 
606
- export declare type AzureDataSourceProperties = AzureDataSourcePropertiesBase & DataSourceProperties;
607
-
608
- export declare interface AzureDataSourcePropertiesBase {
430
+ export declare interface AzureDataSourceProperties extends DataSourceProperties {
609
431
  resourceGroup?: string;
610
432
  subscriptionId?: string;
611
433
  location?: string;
612
434
  resourceName?: string;
613
435
  }
614
436
 
615
- export declare type AzureFileServiceCredentialScan = AzureFileServiceCredentialScanBase & Scan;
616
-
617
- export declare interface AzureFileServiceCredentialScanBase {
437
+ export declare interface AzureFileServiceCredentialScan extends ScanBase {
618
438
  properties?: AzureFileServiceCredentialScanPropertiesAutoGenerated;
439
+ kind: "AzureFileServiceCredential";
619
440
  }
620
441
 
621
- export declare type AzureFileServiceCredentialScanProperties = AzureFileServiceCredentialScanPropertiesBase & ScanProperties;
622
-
623
- export declare type AzureFileServiceCredentialScanPropertiesAutoGenerated = AzureFileServiceCredentialScanPropertiesAutoGeneratedBase & AzureFileServiceCredentialScanProperties;
624
-
625
- export declare interface AzureFileServiceCredentialScanPropertiesAutoGeneratedBase {
626
- }
627
-
628
- export declare interface AzureFileServiceCredentialScanPropertiesBase {
442
+ export declare interface AzureFileServiceCredentialScanProperties extends ScanProperties {
629
443
  credential?: AzureFileServiceCredentialScanPropertiesCredential;
630
444
  shareName?: string;
631
445
  }
632
446
 
633
- export declare type AzureFileServiceCredentialScanPropertiesCredential = AzureFileServiceCredentialScanPropertiesCredentialBase & CredentialReference;
634
-
635
- export declare interface AzureFileServiceCredentialScanPropertiesCredentialBase {
447
+ export declare interface AzureFileServiceCredentialScanPropertiesAutoGenerated extends AzureFileServiceCredentialScanProperties {
636
448
  }
637
449
 
638
- export declare type AzureFileServiceDataSource = AzureFileServiceDataSourceBase & DataSource;
450
+ export declare interface AzureFileServiceCredentialScanPropertiesCredential extends CredentialReference {
451
+ }
639
452
 
640
- export declare interface AzureFileServiceDataSourceBase {
453
+ export declare interface AzureFileServiceDataSource extends DataSourceBase {
641
454
  properties?: AzureFileServiceDataSourceProperties;
455
+ kind: "AzureFileService";
642
456
  }
643
457
 
644
- export declare type AzureFileServiceDataSourceProperties = AzureFileServiceDataSourcePropertiesBase & AzureFileServiceProperties;
645
-
646
- export declare interface AzureFileServiceDataSourcePropertiesBase {
458
+ export declare interface AzureFileServiceDataSourceProperties extends AzureFileServiceProperties {
647
459
  }
648
460
 
649
- export declare type AzureFileServiceProperties = AzureFileServicePropertiesBase & AzureDataSourceProperties;
650
-
651
- export declare interface AzureFileServicePropertiesBase {
461
+ export declare interface AzureFileServiceProperties extends AzureDataSourceProperties {
652
462
  endpoint?: string;
653
463
  }
654
464
 
655
- export declare type AzureFileServiceScanRuleset = AzureFileServiceScanRulesetBase & ScanRuleset;
656
-
657
- export declare interface AzureFileServiceScanRulesetBase {
465
+ export declare interface AzureFileServiceScanRuleset extends ScanRulesetBase {
658
466
  properties?: AzureFileServiceScanRulesetPropertiesAutoGenerated;
467
+ kind: "AzureFileService";
659
468
  }
660
469
 
661
- export declare type AzureFileServiceScanRulesetProperties = AzureFileServiceScanRulesetPropertiesBase & ScanningRuleScanRulesetProperties;
662
-
663
- export declare type AzureFileServiceScanRulesetPropertiesAutoGenerated = AzureFileServiceScanRulesetPropertiesAutoGeneratedBase & AzureFileServiceScanRulesetProperties;
664
-
665
- export declare interface AzureFileServiceScanRulesetPropertiesAutoGeneratedBase {
470
+ export declare interface AzureFileServiceScanRulesetProperties extends ScanningRuleScanRulesetProperties {
666
471
  }
667
472
 
668
- export declare interface AzureFileServiceScanRulesetPropertiesBase {
473
+ export declare interface AzureFileServiceScanRulesetPropertiesAutoGenerated extends AzureFileServiceScanRulesetProperties {
669
474
  }
670
475
 
671
- export declare type AzureFileServiceSystemScanRuleset = AzureFileServiceSystemScanRulesetBase & SystemScanRuleset;
672
-
673
- export declare interface AzureFileServiceSystemScanRulesetBase {
476
+ export declare interface AzureFileServiceSystemScanRuleset extends SystemScanRulesetBase {
674
477
  properties?: AzureFileServiceSystemScanRulesetProperties;
478
+ kind: "None";
675
479
  }
676
480
 
677
- export declare type AzureFileServiceSystemScanRulesetProperties = AzureFileServiceSystemScanRulesetPropertiesBase & AzureFileServiceScanRulesetProperties;
678
-
679
- export declare interface AzureFileServiceSystemScanRulesetPropertiesBase {
481
+ export declare interface AzureFileServiceSystemScanRulesetProperties extends AzureFileServiceScanRulesetProperties {
680
482
  }
681
483
 
682
- export declare type AzureKeyVault = AzureKeyVaultBase & ProxyResource;
683
-
684
- export declare interface AzureKeyVaultBase {
685
- properties?: AzureKeyVaultProperties;
484
+ export declare interface AzureKeyVault extends ProxyResource {
485
+ properties?: AzureKeyVaultPropertiesAutoGenerated;
686
486
  }
687
487
 
688
488
  export declare interface AzureKeyVaultList {
689
- value?: AzureKeyVault[];
489
+ value?: Array<AzureKeyVault>;
690
490
  nextLink?: string;
691
491
  count?: number;
692
492
  }
693
493
 
694
- export declare type AzureKeyVaultProperties = AzureKeyVaultPropertiesBase & AzureKeyVaultPropertiesAutoGenerated;
695
-
696
- export declare interface AzureKeyVaultPropertiesAutoGenerated {
494
+ export declare interface AzureKeyVaultProperties {
697
495
  baseUrl?: string;
698
496
  description?: string;
699
497
  }
700
498
 
701
- export declare interface AzureKeyVaultPropertiesBase {
499
+ export declare interface AzureKeyVaultPropertiesAutoGenerated extends AzureKeyVaultProperties {
702
500
  }
703
501
 
704
- export declare type AzureMySqlCredentialScan = AzureMySqlCredentialScanBase & Scan;
705
-
706
- export declare interface AzureMySqlCredentialScanBase {
502
+ export declare interface AzureMySqlCredentialScan extends ScanBase {
707
503
  properties?: AzureMySqlCredentialScanPropertiesAutoGenerated;
504
+ kind: "AzureMySqlCredential";
708
505
  }
709
506
 
710
- export declare type AzureMySqlCredentialScanProperties = AzureMySqlCredentialScanPropertiesBase & AzureMySqlScanProperties;
711
-
712
- export declare type AzureMySqlCredentialScanPropertiesAutoGenerated = AzureMySqlCredentialScanPropertiesAutoGeneratedBase & AzureMySqlCredentialScanProperties;
713
-
714
- export declare interface AzureMySqlCredentialScanPropertiesAutoGeneratedBase {
507
+ export declare interface AzureMySqlCredentialScanProperties extends AzureMySqlScanProperties {
715
508
  }
716
509
 
717
- export declare interface AzureMySqlCredentialScanPropertiesBase {
510
+ export declare interface AzureMySqlCredentialScanPropertiesAutoGenerated extends AzureMySqlCredentialScanProperties {
718
511
  }
719
512
 
720
- export declare type AzureMySqlDataSource = AzureMySqlDataSourceBase & DataSource;
721
-
722
- export declare interface AzureMySqlDataSourceBase {
513
+ export declare interface AzureMySqlDataSource extends DataSourceBase {
723
514
  properties?: AzureMySqlDataSourceProperties;
515
+ kind: "AzureMySql";
724
516
  }
725
517
 
726
- export declare type AzureMySqlDataSourceProperties = AzureMySqlDataSourcePropertiesBase & AzureMySqlProperties;
727
-
728
- export declare interface AzureMySqlDataSourcePropertiesBase {
518
+ export declare interface AzureMySqlDataSourceProperties extends AzureMySqlProperties {
729
519
  }
730
520
 
731
- export declare type AzureMySqlProperties = AzureMySqlPropertiesBase & AzureDataSourceProperties;
732
-
733
- export declare interface AzureMySqlPropertiesBase {
521
+ export declare interface AzureMySqlProperties extends AzureDataSourceProperties {
734
522
  serverEndpoint?: string;
735
523
  port?: number;
736
524
  }
737
525
 
738
- export declare type AzureMySqlScanProperties = AzureMySqlScanPropertiesBase & ScanProperties;
739
-
740
- export declare interface AzureMySqlScanPropertiesBase {
526
+ export declare interface AzureMySqlScanProperties extends ScanProperties {
741
527
  serverEndpoint?: string;
742
528
  port?: number;
743
529
  databaseName?: string;
744
530
  credential?: AzureMySqlScanPropertiesCredential;
745
531
  }
746
532
 
747
- export declare type AzureMySqlScanPropertiesCredential = AzureMySqlScanPropertiesCredentialBase & CredentialReference;
748
-
749
- export declare interface AzureMySqlScanPropertiesCredentialBase {
533
+ export declare interface AzureMySqlScanPropertiesCredential extends CredentialReference {
750
534
  }
751
535
 
752
- export declare type AzureMySqlScanRuleset = AzureMySqlScanRulesetBase & ScanRuleset;
753
-
754
- export declare interface AzureMySqlScanRulesetBase {
536
+ export declare interface AzureMySqlScanRuleset extends ScanRulesetBase {
755
537
  properties?: AzureMySqlScanRulesetPropertiesAutoGenerated;
538
+ kind: "AzureMySql";
756
539
  }
757
540
 
758
- export declare type AzureMySqlScanRulesetProperties = AzureMySqlScanRulesetPropertiesBase & ScanRulesetProperties;
759
-
760
- export declare type AzureMySqlScanRulesetPropertiesAutoGenerated = AzureMySqlScanRulesetPropertiesAutoGeneratedBase & AzureMySqlScanRulesetProperties;
761
-
762
- export declare interface AzureMySqlScanRulesetPropertiesAutoGeneratedBase {
541
+ export declare interface AzureMySqlScanRulesetProperties extends ScanRulesetProperties {
763
542
  }
764
543
 
765
- export declare interface AzureMySqlScanRulesetPropertiesBase {
544
+ export declare interface AzureMySqlScanRulesetPropertiesAutoGenerated extends AzureMySqlScanRulesetProperties {
766
545
  }
767
546
 
768
- export declare type AzureMySqlSystemScanRuleset = AzureMySqlSystemScanRulesetBase & SystemScanRuleset;
769
-
770
- export declare interface AzureMySqlSystemScanRulesetBase {
547
+ export declare interface AzureMySqlSystemScanRuleset extends SystemScanRulesetBase {
771
548
  properties?: AzureMySqlSystemScanRulesetProperties;
549
+ kind: "None";
772
550
  }
773
551
 
774
- export declare type AzureMySqlSystemScanRulesetProperties = AzureMySqlSystemScanRulesetPropertiesBase & AzureMySqlScanRulesetProperties;
775
-
776
- export declare interface AzureMySqlSystemScanRulesetPropertiesBase {
552
+ export declare interface AzureMySqlSystemScanRulesetProperties extends AzureMySqlScanRulesetProperties {
777
553
  }
778
554
 
779
- export declare type AzurePostgreSqlCredentialScan = AzurePostgreSqlCredentialScanBase & Scan;
780
-
781
- export declare interface AzurePostgreSqlCredentialScanBase {
555
+ export declare interface AzurePostgreSqlCredentialScan extends ScanBase {
782
556
  properties?: AzurePostgreSqlCredentialScanPropertiesAutoGenerated;
557
+ kind: "AzurePostgreSqlCredential";
783
558
  }
784
559
 
785
- export declare type AzurePostgreSqlCredentialScanProperties = AzurePostgreSqlCredentialScanPropertiesBase & ScanProperties;
786
-
787
- export declare type AzurePostgreSqlCredentialScanPropertiesAutoGenerated = AzurePostgreSqlCredentialScanPropertiesAutoGeneratedBase & AzurePostgreSqlCredentialScanProperties;
788
-
789
- export declare interface AzurePostgreSqlCredentialScanPropertiesAutoGeneratedBase {
790
- }
791
-
792
- export declare interface AzurePostgreSqlCredentialScanPropertiesBase {
560
+ export declare interface AzurePostgreSqlCredentialScanProperties extends ScanProperties {
793
561
  credential?: AzurePostgreSqlCredentialScanPropertiesCredential;
794
562
  serverEndpoint?: string;
795
563
  databaseName?: string;
@@ -797,710 +565,504 @@ export declare interface AzurePostgreSqlCredentialScanPropertiesBase {
797
565
  sslMode?: number;
798
566
  }
799
567
 
800
- export declare type AzurePostgreSqlCredentialScanPropertiesCredential = AzurePostgreSqlCredentialScanPropertiesCredentialBase & CredentialReference;
801
-
802
- export declare interface AzurePostgreSqlCredentialScanPropertiesCredentialBase {
568
+ export declare interface AzurePostgreSqlCredentialScanPropertiesAutoGenerated extends AzurePostgreSqlCredentialScanProperties {
803
569
  }
804
570
 
805
- export declare type AzurePostgreSqlDataSource = AzurePostgreSqlDataSourceBase & DataSource;
571
+ export declare interface AzurePostgreSqlCredentialScanPropertiesCredential extends CredentialReference {
572
+ }
806
573
 
807
- export declare interface AzurePostgreSqlDataSourceBase {
574
+ export declare interface AzurePostgreSqlDataSource extends DataSourceBase {
808
575
  properties?: AzurePostgreSqlDataSourceProperties;
576
+ kind: "AzurePostgreSql";
809
577
  }
810
578
 
811
- export declare type AzurePostgreSqlDataSourceProperties = AzurePostgreSqlDataSourcePropertiesBase & AzurePostgreSqlProperties;
812
-
813
- export declare interface AzurePostgreSqlDataSourcePropertiesBase {
579
+ export declare interface AzurePostgreSqlDataSourceProperties extends AzurePostgreSqlProperties {
814
580
  }
815
581
 
816
- export declare type AzurePostgreSqlProperties = AzurePostgreSqlPropertiesBase & AzureDataSourceProperties;
817
-
818
- export declare interface AzurePostgreSqlPropertiesBase {
582
+ export declare interface AzurePostgreSqlProperties extends AzureDataSourceProperties {
819
583
  serverEndpoint?: string;
820
584
  port?: number;
821
585
  }
822
586
 
823
- export declare type AzurePostgreSqlScanRuleset = AzurePostgreSqlScanRulesetBase & ScanRuleset;
824
-
825
- export declare interface AzurePostgreSqlScanRulesetBase {
587
+ export declare interface AzurePostgreSqlScanRuleset extends ScanRulesetBase {
826
588
  properties?: AzurePostgreSqlScanRulesetPropertiesAutoGenerated;
589
+ kind: "AzurePostgreSql";
827
590
  }
828
591
 
829
- export declare type AzurePostgreSqlScanRulesetProperties = AzurePostgreSqlScanRulesetPropertiesBase & ScanRulesetProperties;
830
-
831
- export declare type AzurePostgreSqlScanRulesetPropertiesAutoGenerated = AzurePostgreSqlScanRulesetPropertiesAutoGeneratedBase & AzurePostgreSqlScanRulesetProperties;
832
-
833
- export declare interface AzurePostgreSqlScanRulesetPropertiesAutoGeneratedBase {
592
+ export declare interface AzurePostgreSqlScanRulesetProperties extends ScanRulesetProperties {
834
593
  }
835
594
 
836
- export declare interface AzurePostgreSqlScanRulesetPropertiesBase {
595
+ export declare interface AzurePostgreSqlScanRulesetPropertiesAutoGenerated extends AzurePostgreSqlScanRulesetProperties {
837
596
  }
838
597
 
839
- export declare type AzurePostgreSqlSystemScanRuleset = AzurePostgreSqlSystemScanRulesetBase & SystemScanRuleset;
840
-
841
- export declare interface AzurePostgreSqlSystemScanRulesetBase {
598
+ export declare interface AzurePostgreSqlSystemScanRuleset extends SystemScanRulesetBase {
842
599
  properties?: AzurePostgreSqlSystemScanRulesetProperties;
600
+ kind: "None";
843
601
  }
844
602
 
845
- export declare type AzurePostgreSqlSystemScanRulesetProperties = AzurePostgreSqlSystemScanRulesetPropertiesBase & AzurePostgreSqlScanRulesetProperties;
846
-
847
- export declare interface AzurePostgreSqlSystemScanRulesetPropertiesBase {
603
+ export declare interface AzurePostgreSqlSystemScanRulesetProperties extends AzurePostgreSqlScanRulesetProperties {
848
604
  }
849
605
 
850
- export declare type AzureResourceGroupCredentialScan = AzureResourceGroupCredentialScanBase & Scan;
851
-
852
- export declare interface AzureResourceGroupCredentialScanBase {
606
+ export declare interface AzureResourceGroupCredentialScan extends ScanBase {
853
607
  properties?: AzureResourceGroupCredentialScanPropertiesAutoGenerated;
608
+ kind: "AzureResourceGroupCredential";
854
609
  }
855
610
 
856
- export declare type AzureResourceGroupCredentialScanProperties = AzureResourceGroupCredentialScanPropertiesBase & ExpandingResourceScanProperties;
857
-
858
- export declare type AzureResourceGroupCredentialScanPropertiesAutoGenerated = AzureResourceGroupCredentialScanPropertiesAutoGeneratedBase & AzureResourceGroupCredentialScanProperties;
859
-
860
- export declare interface AzureResourceGroupCredentialScanPropertiesAutoGeneratedBase {
611
+ export declare interface AzureResourceGroupCredentialScanProperties extends ExpandingResourceScanProperties {
861
612
  }
862
613
 
863
- export declare interface AzureResourceGroupCredentialScanPropertiesBase {
614
+ export declare interface AzureResourceGroupCredentialScanPropertiesAutoGenerated extends AzureResourceGroupCredentialScanProperties {
864
615
  }
865
616
 
866
- export declare type AzureResourceGroupDataSource = AzureResourceGroupDataSourceBase & DataSource;
867
-
868
- export declare interface AzureResourceGroupDataSourceBase {
617
+ export declare interface AzureResourceGroupDataSource extends DataSourceBase {
869
618
  properties?: AzureResourceGroupDataSourceProperties;
619
+ kind: "AzureResourceGroup";
870
620
  }
871
621
 
872
- export declare type AzureResourceGroupDataSourceProperties = AzureResourceGroupDataSourcePropertiesBase & AzureResourceGroupProperties;
873
-
874
- export declare interface AzureResourceGroupDataSourcePropertiesBase {
622
+ export declare interface AzureResourceGroupDataSourceProperties extends AzureResourceGroupProperties {
875
623
  }
876
624
 
877
- export declare type AzureResourceGroupMsiScan = AzureResourceGroupMsiScanBase & Scan;
878
-
879
- export declare interface AzureResourceGroupMsiScanBase {
625
+ export declare interface AzureResourceGroupMsiScan extends ScanBase {
880
626
  properties?: AzureResourceGroupMsiScanPropertiesAutoGenerated;
627
+ kind: "AzureResourceGroupMsi";
881
628
  }
882
629
 
883
- export declare type AzureResourceGroupMsiScanProperties = AzureResourceGroupMsiScanPropertiesBase & ExpandingResourceScanProperties;
884
-
885
- export declare type AzureResourceGroupMsiScanPropertiesAutoGenerated = AzureResourceGroupMsiScanPropertiesAutoGeneratedBase & AzureResourceGroupMsiScanProperties;
886
-
887
- export declare interface AzureResourceGroupMsiScanPropertiesAutoGeneratedBase {
630
+ export declare interface AzureResourceGroupMsiScanProperties extends ExpandingResourceScanProperties {
888
631
  }
889
632
 
890
- export declare interface AzureResourceGroupMsiScanPropertiesBase {
633
+ export declare interface AzureResourceGroupMsiScanPropertiesAutoGenerated extends AzureResourceGroupMsiScanProperties {
891
634
  }
892
635
 
893
- export declare type AzureResourceGroupProperties = AzureResourceGroupPropertiesBase & DataSourceProperties;
894
-
895
- export declare interface AzureResourceGroupPropertiesBase {
636
+ export declare interface AzureResourceGroupProperties extends DataSourceProperties {
896
637
  subscriptionId?: string;
897
638
  resourceGroup?: string;
898
639
  }
899
640
 
900
- export declare type AzureResourceGroupScanRuleset = AzureResourceGroupScanRulesetBase & ScanRuleset;
901
-
902
- export declare interface AzureResourceGroupScanRulesetBase {
641
+ export declare interface AzureResourceGroupScanRuleset extends ScanRulesetBase {
903
642
  properties?: AzureResourceGroupScanRulesetPropertiesAutoGenerated;
643
+ kind: "AzureResourceGroup";
904
644
  }
905
645
 
906
- export declare type AzureResourceGroupScanRulesetProperties = AzureResourceGroupScanRulesetPropertiesBase & ScanRulesetProperties;
907
-
908
- export declare type AzureResourceGroupScanRulesetPropertiesAutoGenerated = AzureResourceGroupScanRulesetPropertiesAutoGeneratedBase & AzureResourceGroupScanRulesetProperties;
909
-
910
- export declare interface AzureResourceGroupScanRulesetPropertiesAutoGeneratedBase {
646
+ export declare interface AzureResourceGroupScanRulesetProperties extends ScanRulesetProperties {
911
647
  }
912
648
 
913
- export declare interface AzureResourceGroupScanRulesetPropertiesBase {
649
+ export declare interface AzureResourceGroupScanRulesetPropertiesAutoGenerated extends AzureResourceGroupScanRulesetProperties {
914
650
  }
915
651
 
916
- export declare type AzureResourceGroupSystemScanRuleset = AzureResourceGroupSystemScanRulesetBase & SystemScanRuleset;
917
-
918
- export declare interface AzureResourceGroupSystemScanRulesetBase {
652
+ export declare interface AzureResourceGroupSystemScanRuleset extends SystemScanRulesetBase {
919
653
  properties?: AzureResourceGroupSystemScanRulesetProperties;
654
+ kind: "None";
920
655
  }
921
656
 
922
- export declare type AzureResourceGroupSystemScanRulesetProperties = AzureResourceGroupSystemScanRulesetPropertiesBase & AzureResourceGroupScanRulesetProperties;
923
-
924
- export declare interface AzureResourceGroupSystemScanRulesetPropertiesBase {
657
+ export declare interface AzureResourceGroupSystemScanRulesetProperties extends AzureResourceGroupScanRulesetProperties {
925
658
  }
926
659
 
927
- export declare type AzureSqlCredentialScanProperties = AzureSqlCredentialScanPropertiesBase & AzureSqlScanProperties;
928
-
929
- export declare interface AzureSqlCredentialScanPropertiesBase {
660
+ export declare interface AzureSqlCredentialScanProperties extends AzureSqlScanProperties {
930
661
  credential?: AzureSqlCredentialScanPropertiesCredential;
931
662
  }
932
663
 
933
- export declare type AzureSqlCredentialScanPropertiesCredential = AzureSqlCredentialScanPropertiesCredentialBase & CredentialReference;
934
-
935
- export declare interface AzureSqlCredentialScanPropertiesCredentialBase {
664
+ export declare interface AzureSqlCredentialScanPropertiesCredential extends CredentialReference {
936
665
  }
937
666
 
938
- export declare type AzureSqlDatabaseCredentialScan = AzureSqlDatabaseCredentialScanBase & Scan;
939
-
940
- export declare interface AzureSqlDatabaseCredentialScanBase {
667
+ export declare interface AzureSqlDatabaseCredentialScan extends ScanBase {
941
668
  properties?: AzureSqlDatabaseCredentialScanPropertiesAutoGenerated;
669
+ kind: "AzureSqlDatabaseCredential";
942
670
  }
943
671
 
944
- export declare type AzureSqlDatabaseCredentialScanProperties = AzureSqlDatabaseCredentialScanPropertiesBase & AzureSqlCredentialScanProperties;
945
-
946
- export declare type AzureSqlDatabaseCredentialScanPropertiesAutoGenerated = AzureSqlDatabaseCredentialScanPropertiesAutoGeneratedBase & AzureSqlDatabaseCredentialScanProperties;
947
-
948
- export declare interface AzureSqlDatabaseCredentialScanPropertiesAutoGeneratedBase {
672
+ export declare interface AzureSqlDatabaseCredentialScanProperties extends AzureSqlCredentialScanProperties {
949
673
  }
950
674
 
951
- export declare interface AzureSqlDatabaseCredentialScanPropertiesBase {
675
+ export declare interface AzureSqlDatabaseCredentialScanPropertiesAutoGenerated extends AzureSqlDatabaseCredentialScanProperties {
952
676
  }
953
677
 
954
- export declare type AzureSqlDatabaseDataSource = AzureSqlDatabaseDataSourceBase & DataSource;
955
-
956
- export declare interface AzureSqlDatabaseDataSourceBase {
678
+ export declare interface AzureSqlDatabaseDataSource extends DataSourceBase {
957
679
  properties?: AzureSqlDatabaseDataSourceProperties;
680
+ kind: "AzureSqlDatabase";
958
681
  }
959
682
 
960
- export declare type AzureSqlDatabaseDataSourceProperties = AzureSqlDatabaseDataSourcePropertiesBase & AzureSqlDatabaseProperties;
961
-
962
- export declare interface AzureSqlDatabaseDataSourcePropertiesBase {
683
+ export declare interface AzureSqlDatabaseDataSourceProperties extends AzureSqlDatabaseProperties {
963
684
  }
964
685
 
965
- export declare type AzureSqlDatabaseManagedInstanceCredentialScan = AzureSqlDatabaseManagedInstanceCredentialScanBase & Scan;
966
-
967
- export declare interface AzureSqlDatabaseManagedInstanceCredentialScanBase {
686
+ export declare interface AzureSqlDatabaseManagedInstanceCredentialScan extends ScanBase {
968
687
  properties?: AzureSqlDatabaseManagedInstanceCredentialScanPropertiesAutoGenerated;
688
+ kind: "AzureSqlDatabaseManagedInstanceCredential";
969
689
  }
970
690
 
971
- export declare type AzureSqlDatabaseManagedInstanceCredentialScanProperties = AzureSqlDatabaseManagedInstanceCredentialScanPropertiesBase & AzureSqlCredentialScanProperties;
972
-
973
- export declare type AzureSqlDatabaseManagedInstanceCredentialScanPropertiesAutoGenerated = AzureSqlDatabaseManagedInstanceCredentialScanPropertiesAutoGeneratedBase & AzureSqlDatabaseManagedInstanceCredentialScanProperties;
974
-
975
- export declare interface AzureSqlDatabaseManagedInstanceCredentialScanPropertiesAutoGeneratedBase {
691
+ export declare interface AzureSqlDatabaseManagedInstanceCredentialScanProperties extends AzureSqlCredentialScanProperties {
976
692
  }
977
693
 
978
- export declare interface AzureSqlDatabaseManagedInstanceCredentialScanPropertiesBase {
694
+ export declare interface AzureSqlDatabaseManagedInstanceCredentialScanPropertiesAutoGenerated extends AzureSqlDatabaseManagedInstanceCredentialScanProperties {
979
695
  }
980
696
 
981
- export declare type AzureSqlDatabaseManagedInstanceDataSource = AzureSqlDatabaseManagedInstanceDataSourceBase & DataSource;
982
-
983
- export declare interface AzureSqlDatabaseManagedInstanceDataSourceBase {
697
+ export declare interface AzureSqlDatabaseManagedInstanceDataSource extends DataSourceBase {
984
698
  properties?: AzureSqlDatabaseManagedInstanceDataSourceProperties;
699
+ kind: "AzureSqlDatabaseManagedInstance";
985
700
  }
986
701
 
987
- export declare type AzureSqlDatabaseManagedInstanceDataSourceProperties = AzureSqlDatabaseManagedInstanceDataSourcePropertiesBase & AzureSqlDatabaseManagedInstanceProperties;
988
-
989
- export declare interface AzureSqlDatabaseManagedInstanceDataSourcePropertiesBase {
702
+ export declare interface AzureSqlDatabaseManagedInstanceDataSourceProperties extends AzureSqlDatabaseManagedInstanceProperties {
990
703
  }
991
704
 
992
- export declare type AzureSqlDatabaseManagedInstanceMsiScan = AzureSqlDatabaseManagedInstanceMsiScanBase & Scan;
993
-
994
- export declare interface AzureSqlDatabaseManagedInstanceMsiScanBase {
705
+ export declare interface AzureSqlDatabaseManagedInstanceMsiScan extends ScanBase {
995
706
  properties?: AzureSqlDatabaseManagedInstanceMsiScanPropertiesAutoGenerated;
707
+ kind: "AzureSqlDatabaseManagedInstanceMsi";
996
708
  }
997
709
 
998
- export declare type AzureSqlDatabaseManagedInstanceMsiScanProperties = AzureSqlDatabaseManagedInstanceMsiScanPropertiesBase & AzureSqlScanProperties;
999
-
1000
- export declare type AzureSqlDatabaseManagedInstanceMsiScanPropertiesAutoGenerated = AzureSqlDatabaseManagedInstanceMsiScanPropertiesAutoGeneratedBase & AzureSqlDatabaseManagedInstanceMsiScanProperties;
1001
-
1002
- export declare interface AzureSqlDatabaseManagedInstanceMsiScanPropertiesAutoGeneratedBase {
710
+ export declare interface AzureSqlDatabaseManagedInstanceMsiScanProperties extends AzureSqlScanProperties {
1003
711
  }
1004
712
 
1005
- export declare interface AzureSqlDatabaseManagedInstanceMsiScanPropertiesBase {
713
+ export declare interface AzureSqlDatabaseManagedInstanceMsiScanPropertiesAutoGenerated extends AzureSqlDatabaseManagedInstanceMsiScanProperties {
1006
714
  }
1007
715
 
1008
- export declare type AzureSqlDatabaseManagedInstanceProperties = AzureSqlDatabaseManagedInstancePropertiesBase & AzureDataSourceProperties;
1009
-
1010
- export declare interface AzureSqlDatabaseManagedInstancePropertiesBase {
716
+ export declare interface AzureSqlDatabaseManagedInstanceProperties extends AzureDataSourceProperties {
1011
717
  serverEndpoint?: string;
1012
718
  }
1013
719
 
1014
- export declare type AzureSqlDatabaseManagedInstanceScanRuleset = AzureSqlDatabaseManagedInstanceScanRulesetBase & ScanRuleset;
1015
-
1016
- export declare interface AzureSqlDatabaseManagedInstanceScanRulesetBase {
720
+ export declare interface AzureSqlDatabaseManagedInstanceScanRuleset extends ScanRulesetBase {
1017
721
  properties?: AzureSqlDatabaseManagedInstanceScanRulesetPropertiesAutoGenerated;
722
+ kind: "AzureSqlDatabaseManagedInstance";
1018
723
  }
1019
724
 
1020
- export declare type AzureSqlDatabaseManagedInstanceScanRulesetProperties = AzureSqlDatabaseManagedInstanceScanRulesetPropertiesBase & ScanRulesetProperties;
1021
-
1022
- export declare type AzureSqlDatabaseManagedInstanceScanRulesetPropertiesAutoGenerated = AzureSqlDatabaseManagedInstanceScanRulesetPropertiesAutoGeneratedBase & AzureSqlDatabaseManagedInstanceScanRulesetProperties;
1023
-
1024
- export declare interface AzureSqlDatabaseManagedInstanceScanRulesetPropertiesAutoGeneratedBase {
725
+ export declare interface AzureSqlDatabaseManagedInstanceScanRulesetProperties extends ScanRulesetProperties {
1025
726
  }
1026
727
 
1027
- export declare interface AzureSqlDatabaseManagedInstanceScanRulesetPropertiesBase {
728
+ export declare interface AzureSqlDatabaseManagedInstanceScanRulesetPropertiesAutoGenerated extends AzureSqlDatabaseManagedInstanceScanRulesetProperties {
1028
729
  }
1029
730
 
1030
- export declare type AzureSqlDatabaseManagedInstanceSystemScanRuleset = AzureSqlDatabaseManagedInstanceSystemScanRulesetBase & SystemScanRuleset;
1031
-
1032
- export declare interface AzureSqlDatabaseManagedInstanceSystemScanRulesetBase {
731
+ export declare interface AzureSqlDatabaseManagedInstanceSystemScanRuleset extends SystemScanRulesetBase {
1033
732
  properties?: AzureSqlDatabaseManagedInstanceSystemScanRulesetProperties;
733
+ kind: "None";
1034
734
  }
1035
735
 
1036
- export declare type AzureSqlDatabaseManagedInstanceSystemScanRulesetProperties = AzureSqlDatabaseManagedInstanceSystemScanRulesetPropertiesBase & AzureSqlDatabaseManagedInstanceScanRulesetProperties;
1037
-
1038
- export declare interface AzureSqlDatabaseManagedInstanceSystemScanRulesetPropertiesBase {
736
+ export declare interface AzureSqlDatabaseManagedInstanceSystemScanRulesetProperties extends AzureSqlDatabaseManagedInstanceScanRulesetProperties {
1039
737
  }
1040
738
 
1041
- export declare type AzureSqlDatabaseMsiScan = AzureSqlDatabaseMsiScanBase & Scan;
1042
-
1043
- export declare interface AzureSqlDatabaseMsiScanBase {
739
+ export declare interface AzureSqlDatabaseMsiScan extends ScanBase {
1044
740
  properties?: AzureSqlDatabaseMsiScanPropertiesAutoGenerated;
741
+ kind: "AzureSqlDatabaseMsi";
1045
742
  }
1046
743
 
1047
- export declare type AzureSqlDatabaseMsiScanProperties = AzureSqlDatabaseMsiScanPropertiesBase & AzureSqlScanProperties;
1048
-
1049
- export declare type AzureSqlDatabaseMsiScanPropertiesAutoGenerated = AzureSqlDatabaseMsiScanPropertiesAutoGeneratedBase & AzureSqlDatabaseMsiScanProperties;
1050
-
1051
- export declare interface AzureSqlDatabaseMsiScanPropertiesAutoGeneratedBase {
744
+ export declare interface AzureSqlDatabaseMsiScanProperties extends AzureSqlScanProperties {
1052
745
  }
1053
746
 
1054
- export declare interface AzureSqlDatabaseMsiScanPropertiesBase {
747
+ export declare interface AzureSqlDatabaseMsiScanPropertiesAutoGenerated extends AzureSqlDatabaseMsiScanProperties {
1055
748
  }
1056
749
 
1057
- export declare type AzureSqlDatabaseProperties = AzureSqlDatabasePropertiesBase & AzureDataSourceProperties;
1058
-
1059
- export declare interface AzureSqlDatabasePropertiesBase {
750
+ export declare interface AzureSqlDatabaseProperties extends AzureDataSourceProperties {
1060
751
  serverEndpoint?: string;
1061
752
  }
1062
753
 
1063
- export declare type AzureSqlDatabaseScanRuleset = AzureSqlDatabaseScanRulesetBase & ScanRuleset;
1064
-
1065
- export declare interface AzureSqlDatabaseScanRulesetBase {
754
+ export declare interface AzureSqlDatabaseScanRuleset extends ScanRulesetBase {
1066
755
  properties?: AzureSqlDatabaseScanRulesetPropertiesAutoGenerated;
756
+ kind: "AzureSqlDatabase";
1067
757
  }
1068
758
 
1069
- export declare type AzureSqlDatabaseScanRulesetProperties = AzureSqlDatabaseScanRulesetPropertiesBase & ScanRulesetProperties;
1070
-
1071
- export declare type AzureSqlDatabaseScanRulesetPropertiesAutoGenerated = AzureSqlDatabaseScanRulesetPropertiesAutoGeneratedBase & AzureSqlDatabaseScanRulesetProperties;
1072
-
1073
- export declare interface AzureSqlDatabaseScanRulesetPropertiesAutoGeneratedBase {
759
+ export declare interface AzureSqlDatabaseScanRulesetProperties extends ScanRulesetProperties {
1074
760
  }
1075
761
 
1076
- export declare interface AzureSqlDatabaseScanRulesetPropertiesBase {
762
+ export declare interface AzureSqlDatabaseScanRulesetPropertiesAutoGenerated extends AzureSqlDatabaseScanRulesetProperties {
1077
763
  }
1078
764
 
1079
- export declare type AzureSqlDatabaseSystemScanRuleset = AzureSqlDatabaseSystemScanRulesetBase & SystemScanRuleset;
1080
-
1081
- export declare interface AzureSqlDatabaseSystemScanRulesetBase {
765
+ export declare interface AzureSqlDatabaseSystemScanRuleset extends SystemScanRulesetBase {
1082
766
  properties?: AzureSqlDatabaseSystemScanRulesetProperties;
767
+ kind: "None";
1083
768
  }
1084
769
 
1085
- export declare type AzureSqlDatabaseSystemScanRulesetProperties = AzureSqlDatabaseSystemScanRulesetPropertiesBase & AzureSqlDatabaseScanRulesetProperties;
1086
-
1087
- export declare interface AzureSqlDatabaseSystemScanRulesetPropertiesBase {
770
+ export declare interface AzureSqlDatabaseSystemScanRulesetProperties extends AzureSqlDatabaseScanRulesetProperties {
1088
771
  }
1089
772
 
1090
- export declare type AzureSqlDataWarehouseCredentialScan = AzureSqlDataWarehouseCredentialScanBase & Scan;
1091
-
1092
- export declare interface AzureSqlDataWarehouseCredentialScanBase {
773
+ export declare interface AzureSqlDataWarehouseCredentialScan extends ScanBase {
1093
774
  properties?: AzureSqlDataWarehouseCredentialScanPropertiesAutoGenerated;
775
+ kind: "AzureSqlDataWarehouseCredential";
1094
776
  }
1095
777
 
1096
- export declare type AzureSqlDataWarehouseCredentialScanProperties = AzureSqlDataWarehouseCredentialScanPropertiesBase & AzureSqlCredentialScanProperties;
1097
-
1098
- export declare type AzureSqlDataWarehouseCredentialScanPropertiesAutoGenerated = AzureSqlDataWarehouseCredentialScanPropertiesAutoGeneratedBase & AzureSqlDataWarehouseCredentialScanProperties;
1099
-
1100
- export declare interface AzureSqlDataWarehouseCredentialScanPropertiesAutoGeneratedBase {
778
+ export declare interface AzureSqlDataWarehouseCredentialScanProperties extends AzureSqlCredentialScanProperties {
1101
779
  }
1102
780
 
1103
- export declare interface AzureSqlDataWarehouseCredentialScanPropertiesBase {
781
+ export declare interface AzureSqlDataWarehouseCredentialScanPropertiesAutoGenerated extends AzureSqlDataWarehouseCredentialScanProperties {
1104
782
  }
1105
783
 
1106
- export declare type AzureSqlDataWarehouseDataSource = AzureSqlDataWarehouseDataSourceBase & DataSource;
1107
-
1108
- export declare interface AzureSqlDataWarehouseDataSourceBase {
784
+ export declare interface AzureSqlDataWarehouseDataSource extends DataSourceBase {
1109
785
  properties?: AzureSqlDataWarehouseDataSourceProperties;
786
+ kind: "AzureSqlDataWarehouse";
1110
787
  }
1111
788
 
1112
- export declare type AzureSqlDataWarehouseDataSourceProperties = AzureSqlDataWarehouseDataSourcePropertiesBase & AzureSqlDataWarehouseProperties;
1113
-
1114
- export declare interface AzureSqlDataWarehouseDataSourcePropertiesBase {
789
+ export declare interface AzureSqlDataWarehouseDataSourceProperties extends AzureSqlDataWarehouseProperties {
1115
790
  }
1116
791
 
1117
- export declare type AzureSqlDataWarehouseMsiScan = AzureSqlDataWarehouseMsiScanBase & Scan;
1118
-
1119
- export declare interface AzureSqlDataWarehouseMsiScanBase {
792
+ export declare interface AzureSqlDataWarehouseMsiScan extends ScanBase {
1120
793
  properties?: AzureSqlDataWarehouseMsiScanPropertiesAutoGenerated;
794
+ kind: "AzureSqlDataWarehouseMsi";
1121
795
  }
1122
796
 
1123
- export declare type AzureSqlDataWarehouseMsiScanProperties = AzureSqlDataWarehouseMsiScanPropertiesBase & AzureSqlScanProperties;
1124
-
1125
- export declare type AzureSqlDataWarehouseMsiScanPropertiesAutoGenerated = AzureSqlDataWarehouseMsiScanPropertiesAutoGeneratedBase & AzureSqlDataWarehouseMsiScanProperties;
1126
-
1127
- export declare interface AzureSqlDataWarehouseMsiScanPropertiesAutoGeneratedBase {
797
+ export declare interface AzureSqlDataWarehouseMsiScanProperties extends AzureSqlScanProperties {
1128
798
  }
1129
799
 
1130
- export declare interface AzureSqlDataWarehouseMsiScanPropertiesBase {
800
+ export declare interface AzureSqlDataWarehouseMsiScanPropertiesAutoGenerated extends AzureSqlDataWarehouseMsiScanProperties {
1131
801
  }
1132
802
 
1133
- export declare type AzureSqlDataWarehouseProperties = AzureSqlDataWarehousePropertiesBase & AzureDataSourceProperties;
1134
-
1135
- export declare interface AzureSqlDataWarehousePropertiesBase {
803
+ export declare interface AzureSqlDataWarehouseProperties extends AzureDataSourceProperties {
1136
804
  serverEndpoint?: string;
1137
805
  }
1138
806
 
1139
- export declare type AzureSqlDataWarehouseScanRuleset = AzureSqlDataWarehouseScanRulesetBase & ScanRuleset;
1140
-
1141
- export declare interface AzureSqlDataWarehouseScanRulesetBase {
807
+ export declare interface AzureSqlDataWarehouseScanRuleset extends ScanRulesetBase {
1142
808
  properties?: AzureSqlDataWarehouseScanRulesetPropertiesAutoGenerated;
809
+ kind: "AzureSqlDataWarehouse";
1143
810
  }
1144
811
 
1145
- export declare type AzureSqlDataWarehouseScanRulesetProperties = AzureSqlDataWarehouseScanRulesetPropertiesBase & ScanRulesetProperties;
1146
-
1147
- export declare type AzureSqlDataWarehouseScanRulesetPropertiesAutoGenerated = AzureSqlDataWarehouseScanRulesetPropertiesAutoGeneratedBase & AzureSqlDataWarehouseScanRulesetProperties;
1148
-
1149
- export declare interface AzureSqlDataWarehouseScanRulesetPropertiesAutoGeneratedBase {
812
+ export declare interface AzureSqlDataWarehouseScanRulesetProperties extends ScanRulesetProperties {
1150
813
  }
1151
814
 
1152
- export declare interface AzureSqlDataWarehouseScanRulesetPropertiesBase {
815
+ export declare interface AzureSqlDataWarehouseScanRulesetPropertiesAutoGenerated extends AzureSqlDataWarehouseScanRulesetProperties {
1153
816
  }
1154
817
 
1155
- export declare type AzureSqlDataWarehouseSystemScanRuleset = AzureSqlDataWarehouseSystemScanRulesetBase & SystemScanRuleset;
1156
-
1157
- export declare interface AzureSqlDataWarehouseSystemScanRulesetBase {
818
+ export declare interface AzureSqlDataWarehouseSystemScanRuleset extends SystemScanRulesetBase {
1158
819
  properties?: AzureSqlDataWarehouseSystemScanRulesetProperties;
820
+ kind: "None";
1159
821
  }
1160
822
 
1161
- export declare type AzureSqlDataWarehouseSystemScanRulesetProperties = AzureSqlDataWarehouseSystemScanRulesetPropertiesBase & AzureSqlDataWarehouseScanRulesetProperties;
1162
-
1163
- export declare interface AzureSqlDataWarehouseSystemScanRulesetPropertiesBase {
823
+ export declare interface AzureSqlDataWarehouseSystemScanRulesetProperties extends AzureSqlDataWarehouseScanRulesetProperties {
1164
824
  }
1165
825
 
1166
- export declare type AzureSqlScanProperties = AzureSqlScanPropertiesBase & ScanProperties;
1167
-
1168
- export declare interface AzureSqlScanPropertiesBase {
826
+ export declare interface AzureSqlScanProperties extends ScanProperties {
1169
827
  serverEndpoint?: string;
1170
828
  databaseName?: string;
1171
829
  }
1172
830
 
1173
- export declare type AzureStorageCredentialScan = AzureStorageCredentialScanBase & Scan;
1174
-
1175
- export declare interface AzureStorageCredentialScanBase {
831
+ export declare interface AzureStorageCredentialScan extends ScanBase {
1176
832
  properties?: AzureStorageCredentialScanPropertiesAutoGenerated;
833
+ kind: "AzureStorageCredential";
1177
834
  }
1178
835
 
1179
- export declare type AzureStorageCredentialScanProperties = AzureStorageCredentialScanPropertiesBase & ScanProperties;
1180
-
1181
- export declare type AzureStorageCredentialScanPropertiesAutoGenerated = AzureStorageCredentialScanPropertiesAutoGeneratedBase & AzureStorageCredentialScanProperties;
1182
-
1183
- export declare interface AzureStorageCredentialScanPropertiesAutoGeneratedBase {
1184
- }
1185
-
1186
- export declare interface AzureStorageCredentialScanPropertiesBase {
836
+ export declare interface AzureStorageCredentialScanProperties extends ScanProperties {
1187
837
  credential?: AzureStorageCredentialScanPropertiesCredential;
1188
838
  }
1189
839
 
1190
- export declare type AzureStorageCredentialScanPropertiesCredential = AzureStorageCredentialScanPropertiesCredentialBase & CredentialReference;
1191
-
1192
- export declare interface AzureStorageCredentialScanPropertiesCredentialBase {
840
+ export declare interface AzureStorageCredentialScanPropertiesAutoGenerated extends AzureStorageCredentialScanProperties {
1193
841
  }
1194
842
 
1195
- export declare type AzureStorageDataSource = AzureStorageDataSourceBase & DataSource;
843
+ export declare interface AzureStorageCredentialScanPropertiesCredential extends CredentialReference {
844
+ }
1196
845
 
1197
- export declare interface AzureStorageDataSourceBase {
846
+ export declare interface AzureStorageDataSource extends DataSourceBase {
1198
847
  properties?: AzureStorageDataSourceProperties;
848
+ kind: "AzureStorage";
1199
849
  }
1200
850
 
1201
- export declare type AzureStorageDataSourceProperties = AzureStorageDataSourcePropertiesBase & AzureStorageProperties;
1202
-
1203
- export declare interface AzureStorageDataSourcePropertiesBase {
851
+ export declare interface AzureStorageDataSourceProperties extends AzureStorageProperties {
1204
852
  }
1205
853
 
1206
- export declare type AzureStorageMsiScan = AzureStorageMsiScanBase & Scan;
1207
-
1208
- export declare interface AzureStorageMsiScanBase {
854
+ export declare interface AzureStorageMsiScan extends ScanBase {
1209
855
  properties?: AzureStorageMsiScanPropertiesAutoGenerated;
856
+ kind: "AzureStorageMsi";
1210
857
  }
1211
858
 
1212
- export declare type AzureStorageMsiScanProperties = AzureStorageMsiScanPropertiesBase & ScanProperties;
1213
-
1214
- export declare type AzureStorageMsiScanPropertiesAutoGenerated = AzureStorageMsiScanPropertiesAutoGeneratedBase & AzureStorageMsiScanProperties;
1215
-
1216
- export declare interface AzureStorageMsiScanPropertiesAutoGeneratedBase {
859
+ export declare interface AzureStorageMsiScanProperties extends ScanProperties {
1217
860
  }
1218
861
 
1219
- export declare interface AzureStorageMsiScanPropertiesBase {
862
+ export declare interface AzureStorageMsiScanPropertiesAutoGenerated extends AzureStorageMsiScanProperties {
1220
863
  }
1221
864
 
1222
- export declare type AzureStorageProperties = AzureStoragePropertiesBase & AzureDataSourceProperties;
1223
-
1224
- export declare interface AzureStoragePropertiesBase {
865
+ export declare interface AzureStorageProperties extends AzureDataSourceProperties {
1225
866
  endpoint?: string;
1226
867
  }
1227
868
 
1228
- export declare type AzureStorageScanRuleset = AzureStorageScanRulesetBase & ScanRuleset;
1229
-
1230
- export declare interface AzureStorageScanRulesetBase {
869
+ export declare interface AzureStorageScanRuleset extends ScanRulesetBase {
1231
870
  properties?: AzureStorageScanRulesetPropertiesAutoGenerated;
871
+ kind: "AzureStorage";
1232
872
  }
1233
873
 
1234
- export declare type AzureStorageScanRulesetProperties = AzureStorageScanRulesetPropertiesBase & ScanningRuleScanRulesetProperties;
1235
-
1236
- export declare type AzureStorageScanRulesetPropertiesAutoGenerated = AzureStorageScanRulesetPropertiesAutoGeneratedBase & AzureStorageScanRulesetProperties;
1237
-
1238
- export declare interface AzureStorageScanRulesetPropertiesAutoGeneratedBase {
874
+ export declare interface AzureStorageScanRulesetProperties extends ScanningRuleScanRulesetProperties {
1239
875
  }
1240
876
 
1241
- export declare interface AzureStorageScanRulesetPropertiesBase {
877
+ export declare interface AzureStorageScanRulesetPropertiesAutoGenerated extends AzureStorageScanRulesetProperties {
1242
878
  }
1243
879
 
1244
- export declare type AzureStorageSystemScanRuleset = AzureStorageSystemScanRulesetBase & SystemScanRuleset;
1245
-
1246
- export declare interface AzureStorageSystemScanRulesetBase {
880
+ export declare interface AzureStorageSystemScanRuleset extends SystemScanRulesetBase {
1247
881
  properties?: AzureStorageSystemScanRulesetProperties;
882
+ kind: "None";
1248
883
  }
1249
884
 
1250
- export declare type AzureStorageSystemScanRulesetProperties = AzureStorageSystemScanRulesetPropertiesBase & AzureStorageScanRulesetProperties;
1251
-
1252
- export declare interface AzureStorageSystemScanRulesetPropertiesBase {
885
+ export declare interface AzureStorageSystemScanRulesetProperties extends AzureStorageScanRulesetProperties {
1253
886
  }
1254
887
 
1255
- export declare type AzureSubscriptionCredentialScan = AzureSubscriptionCredentialScanBase & Scan;
1256
-
1257
- export declare interface AzureSubscriptionCredentialScanBase {
888
+ export declare interface AzureSubscriptionCredentialScan extends ScanBase {
1258
889
  properties?: AzureSubscriptionCredentialScanPropertiesAutoGenerated;
890
+ kind: "AzureSubscriptionCredential";
1259
891
  }
1260
892
 
1261
- export declare type AzureSubscriptionCredentialScanProperties = AzureSubscriptionCredentialScanPropertiesBase & ExpandingResourceScanProperties;
1262
-
1263
- export declare type AzureSubscriptionCredentialScanPropertiesAutoGenerated = AzureSubscriptionCredentialScanPropertiesAutoGeneratedBase & AzureSubscriptionCredentialScanProperties;
1264
-
1265
- export declare interface AzureSubscriptionCredentialScanPropertiesAutoGeneratedBase {
893
+ export declare interface AzureSubscriptionCredentialScanProperties extends ExpandingResourceScanProperties {
1266
894
  }
1267
895
 
1268
- export declare interface AzureSubscriptionCredentialScanPropertiesBase {
896
+ export declare interface AzureSubscriptionCredentialScanPropertiesAutoGenerated extends AzureSubscriptionCredentialScanProperties {
1269
897
  }
1270
898
 
1271
- export declare type AzureSubscriptionDataSource = AzureSubscriptionDataSourceBase & DataSource;
1272
-
1273
- export declare interface AzureSubscriptionDataSourceBase {
899
+ export declare interface AzureSubscriptionDataSource extends DataSourceBase {
1274
900
  properties?: AzureSubscriptionDataSourceProperties;
901
+ kind: "AzureSubscription";
1275
902
  }
1276
903
 
1277
- export declare type AzureSubscriptionDataSourceProperties = AzureSubscriptionDataSourcePropertiesBase & AzureSubscriptionProperties;
1278
-
1279
- export declare interface AzureSubscriptionDataSourcePropertiesBase {
904
+ export declare interface AzureSubscriptionDataSourceProperties extends AzureSubscriptionProperties {
1280
905
  }
1281
906
 
1282
- export declare type AzureSubscriptionMsiScan = AzureSubscriptionMsiScanBase & Scan;
1283
-
1284
- export declare interface AzureSubscriptionMsiScanBase {
907
+ export declare interface AzureSubscriptionMsiScan extends ScanBase {
1285
908
  properties?: AzureSubscriptionMsiScanPropertiesAutoGenerated;
909
+ kind: "AzureSubscriptionMsi";
1286
910
  }
1287
911
 
1288
- export declare type AzureSubscriptionMsiScanProperties = AzureSubscriptionMsiScanPropertiesBase & ExpandingResourceScanProperties;
1289
-
1290
- export declare type AzureSubscriptionMsiScanPropertiesAutoGenerated = AzureSubscriptionMsiScanPropertiesAutoGeneratedBase & AzureSubscriptionMsiScanProperties;
1291
-
1292
- export declare interface AzureSubscriptionMsiScanPropertiesAutoGeneratedBase {
912
+ export declare interface AzureSubscriptionMsiScanProperties extends ExpandingResourceScanProperties {
1293
913
  }
1294
914
 
1295
- export declare interface AzureSubscriptionMsiScanPropertiesBase {
915
+ export declare interface AzureSubscriptionMsiScanPropertiesAutoGenerated extends AzureSubscriptionMsiScanProperties {
1296
916
  }
1297
917
 
1298
- export declare type AzureSubscriptionProperties = AzureSubscriptionPropertiesBase & DataSourceProperties;
1299
-
1300
- export declare interface AzureSubscriptionPropertiesBase {
918
+ export declare interface AzureSubscriptionProperties extends DataSourceProperties {
1301
919
  subscriptionId?: string;
1302
920
  }
1303
921
 
1304
- export declare type AzureSubscriptionScanRuleset = AzureSubscriptionScanRulesetBase & ScanRuleset;
1305
-
1306
- export declare interface AzureSubscriptionScanRulesetBase {
922
+ export declare interface AzureSubscriptionScanRuleset extends ScanRulesetBase {
1307
923
  properties?: AzureSubscriptionScanRulesetPropertiesAutoGenerated;
924
+ kind: "AzureSubscription";
1308
925
  }
1309
926
 
1310
- export declare type AzureSubscriptionScanRulesetProperties = AzureSubscriptionScanRulesetPropertiesBase & ScanRulesetProperties;
1311
-
1312
- export declare type AzureSubscriptionScanRulesetPropertiesAutoGenerated = AzureSubscriptionScanRulesetPropertiesAutoGeneratedBase & AzureSubscriptionScanRulesetProperties;
1313
-
1314
- export declare interface AzureSubscriptionScanRulesetPropertiesAutoGeneratedBase {
927
+ export declare interface AzureSubscriptionScanRulesetProperties extends ScanRulesetProperties {
1315
928
  }
1316
929
 
1317
- export declare interface AzureSubscriptionScanRulesetPropertiesBase {
930
+ export declare interface AzureSubscriptionScanRulesetPropertiesAutoGenerated extends AzureSubscriptionScanRulesetProperties {
1318
931
  }
1319
932
 
1320
- export declare type AzureSubscriptionSystemScanRuleset = AzureSubscriptionSystemScanRulesetBase & SystemScanRuleset;
1321
-
1322
- export declare interface AzureSubscriptionSystemScanRulesetBase {
933
+ export declare interface AzureSubscriptionSystemScanRuleset extends SystemScanRulesetBase {
1323
934
  properties?: AzureSubscriptionSystemScanRulesetProperties;
935
+ kind: "None";
1324
936
  }
1325
937
 
1326
- export declare type AzureSubscriptionSystemScanRulesetProperties = AzureSubscriptionSystemScanRulesetPropertiesBase & AzureSubscriptionScanRulesetProperties;
1327
-
1328
- export declare interface AzureSubscriptionSystemScanRulesetPropertiesBase {
938
+ export declare interface AzureSubscriptionSystemScanRulesetProperties extends AzureSubscriptionScanRulesetProperties {
1329
939
  }
1330
940
 
1331
- export declare type AzureSynapseCredentialScan = AzureSynapseCredentialScanBase & Scan;
1332
-
1333
- export declare interface AzureSynapseCredentialScanBase {
941
+ export declare interface AzureSynapseCredentialScan extends ScanBase {
1334
942
  properties?: AzureSynapseCredentialScanPropertiesAutoGenerated;
943
+ kind: "AzureSynapseCredential";
1335
944
  }
1336
945
 
1337
- export declare type AzureSynapseCredentialScanProperties = AzureSynapseCredentialScanPropertiesBase & ExpandingResourceScanProperties;
1338
-
1339
- export declare type AzureSynapseCredentialScanPropertiesAutoGenerated = AzureSynapseCredentialScanPropertiesAutoGeneratedBase & AzureSynapseCredentialScanProperties;
1340
-
1341
- export declare interface AzureSynapseCredentialScanPropertiesAutoGeneratedBase {
946
+ export declare interface AzureSynapseCredentialScanProperties extends ExpandingResourceScanProperties {
1342
947
  }
1343
948
 
1344
- export declare interface AzureSynapseCredentialScanPropertiesBase {
949
+ export declare interface AzureSynapseCredentialScanPropertiesAutoGenerated extends AzureSynapseCredentialScanProperties {
1345
950
  }
1346
951
 
1347
- export declare type AzureSynapseDataSource = AzureSynapseDataSourceBase & DataSource;
1348
-
1349
- export declare interface AzureSynapseDataSourceBase {
952
+ export declare interface AzureSynapseDataSource extends DataSourceBase {
1350
953
  properties?: AzureSynapseDataSourceProperties;
954
+ kind: "AzureSynapse";
1351
955
  }
1352
956
 
1353
- export declare type AzureSynapseDataSourceProperties = AzureSynapseDataSourcePropertiesBase & AzureSynapseProperties;
1354
-
1355
- export declare interface AzureSynapseDataSourcePropertiesBase {
957
+ export declare interface AzureSynapseDataSourceProperties extends AzureSynapseProperties {
1356
958
  }
1357
959
 
1358
- export declare type AzureSynapseMsiScan = AzureSynapseMsiScanBase & Scan;
1359
-
1360
- export declare interface AzureSynapseMsiScanBase {
960
+ export declare interface AzureSynapseMsiScan extends ScanBase {
1361
961
  properties?: AzureSynapseMsiScanPropertiesAutoGenerated;
962
+ kind: "AzureSynapseMsi";
1362
963
  }
1363
964
 
1364
- export declare type AzureSynapseMsiScanProperties = AzureSynapseMsiScanPropertiesBase & ExpandingResourceScanProperties;
1365
-
1366
- export declare type AzureSynapseMsiScanPropertiesAutoGenerated = AzureSynapseMsiScanPropertiesAutoGeneratedBase & AzureSynapseMsiScanProperties;
1367
-
1368
- export declare interface AzureSynapseMsiScanPropertiesAutoGeneratedBase {
965
+ export declare interface AzureSynapseMsiScanProperties extends ExpandingResourceScanProperties {
1369
966
  }
1370
967
 
1371
- export declare interface AzureSynapseMsiScanPropertiesBase {
968
+ export declare interface AzureSynapseMsiScanPropertiesAutoGenerated extends AzureSynapseMsiScanProperties {
1372
969
  }
1373
970
 
1374
- export declare type AzureSynapseProperties = AzureSynapsePropertiesBase & AzureDataSourceProperties;
1375
-
1376
- export declare interface AzureSynapsePropertiesBase {
971
+ export declare interface AzureSynapseProperties extends AzureDataSourceProperties {
1377
972
  sqlEndpoint?: string;
1378
973
  sqlOnDemandEndpoint?: string;
1379
974
  }
1380
975
 
1381
- export declare type AzureSynapseScanRuleset = AzureSynapseScanRulesetBase & ScanRuleset;
1382
-
1383
- export declare interface AzureSynapseScanRulesetBase {
976
+ export declare interface AzureSynapseScanRuleset extends ScanRulesetBase {
1384
977
  properties?: AzureSynapseScanRulesetPropertiesAutoGenerated;
978
+ kind: "AzureSynapse";
1385
979
  }
1386
980
 
1387
- export declare type AzureSynapseScanRulesetProperties = AzureSynapseScanRulesetPropertiesBase & ScanRulesetProperties;
1388
-
1389
- export declare type AzureSynapseScanRulesetPropertiesAutoGenerated = AzureSynapseScanRulesetPropertiesAutoGeneratedBase & AzureSynapseScanRulesetProperties;
1390
-
1391
- export declare interface AzureSynapseScanRulesetPropertiesAutoGeneratedBase {
981
+ export declare interface AzureSynapseScanRulesetProperties extends ScanRulesetProperties {
1392
982
  }
1393
983
 
1394
- export declare interface AzureSynapseScanRulesetPropertiesBase {
984
+ export declare interface AzureSynapseScanRulesetPropertiesAutoGenerated extends AzureSynapseScanRulesetProperties {
1395
985
  }
1396
986
 
1397
- export declare type AzureSynapseSystemScanRuleset = AzureSynapseSystemScanRulesetBase & SystemScanRuleset;
1398
-
1399
- export declare interface AzureSynapseSystemScanRulesetBase {
987
+ export declare interface AzureSynapseSystemScanRuleset extends SystemScanRulesetBase {
1400
988
  properties?: AzureSynapseSystemScanRulesetProperties;
989
+ kind: "None";
1401
990
  }
1402
991
 
1403
- export declare type AzureSynapseSystemScanRulesetProperties = AzureSynapseSystemScanRulesetPropertiesBase & AzureSynapseScanRulesetProperties;
1404
-
1405
- export declare interface AzureSynapseSystemScanRulesetPropertiesBase {
992
+ export declare interface AzureSynapseSystemScanRulesetProperties extends AzureSynapseScanRulesetProperties {
1406
993
  }
1407
994
 
1408
- export declare type AzureSynapseWorkspaceCredentialScan = AzureSynapseWorkspaceCredentialScanBase & Scan;
1409
-
1410
- export declare interface AzureSynapseWorkspaceCredentialScanBase {
995
+ export declare interface AzureSynapseWorkspaceCredentialScan extends ScanBase {
1411
996
  properties?: AzureSynapseWorkspaceCredentialScanPropertiesAutoGenerated;
997
+ kind: "AzureSynapseWorkspaceCredential";
1412
998
  }
1413
999
 
1414
- export declare type AzureSynapseWorkspaceCredentialScanProperties = AzureSynapseWorkspaceCredentialScanPropertiesBase & ExpandingResourceScanProperties;
1415
-
1416
- export declare type AzureSynapseWorkspaceCredentialScanPropertiesAutoGenerated = AzureSynapseWorkspaceCredentialScanPropertiesAutoGeneratedBase & AzureSynapseWorkspaceCredentialScanProperties;
1417
-
1418
- export declare interface AzureSynapseWorkspaceCredentialScanPropertiesAutoGeneratedBase {
1000
+ export declare interface AzureSynapseWorkspaceCredentialScanProperties extends ExpandingResourceScanProperties {
1419
1001
  }
1420
1002
 
1421
- export declare interface AzureSynapseWorkspaceCredentialScanPropertiesBase {
1003
+ export declare interface AzureSynapseWorkspaceCredentialScanPropertiesAutoGenerated extends AzureSynapseWorkspaceCredentialScanProperties {
1422
1004
  }
1423
1005
 
1424
- export declare type AzureSynapseWorkspaceDataSource = AzureSynapseWorkspaceDataSourceBase & DataSource;
1425
-
1426
- export declare interface AzureSynapseWorkspaceDataSourceBase {
1006
+ export declare interface AzureSynapseWorkspaceDataSource extends DataSourceBase {
1427
1007
  properties?: AzureSynapseWorkspaceDataSourceProperties;
1008
+ kind: "AzureSynapseWorkspace";
1428
1009
  }
1429
1010
 
1430
- export declare type AzureSynapseWorkspaceDataSourceProperties = AzureSynapseWorkspaceDataSourcePropertiesBase & AzureSynapseWorkspaceProperties;
1431
-
1432
- export declare interface AzureSynapseWorkspaceDataSourcePropertiesBase {
1011
+ export declare interface AzureSynapseWorkspaceDataSourceProperties extends AzureSynapseWorkspaceProperties {
1433
1012
  }
1434
1013
 
1435
- export declare type AzureSynapseWorkspaceMsiScan = AzureSynapseWorkspaceMsiScanBase & Scan;
1436
-
1437
- export declare interface AzureSynapseWorkspaceMsiScanBase {
1014
+ export declare interface AzureSynapseWorkspaceMsiScan extends ScanBase {
1438
1015
  properties?: AzureSynapseWorkspaceMsiScanPropertiesAutoGenerated;
1016
+ kind: "AzureSynapseWorkspaceMsi";
1439
1017
  }
1440
1018
 
1441
- export declare type AzureSynapseWorkspaceMsiScanProperties = AzureSynapseWorkspaceMsiScanPropertiesBase & ExpandingResourceScanProperties;
1442
-
1443
- export declare type AzureSynapseWorkspaceMsiScanPropertiesAutoGenerated = AzureSynapseWorkspaceMsiScanPropertiesAutoGeneratedBase & AzureSynapseWorkspaceMsiScanProperties;
1444
-
1445
- export declare interface AzureSynapseWorkspaceMsiScanPropertiesAutoGeneratedBase {
1019
+ export declare interface AzureSynapseWorkspaceMsiScanProperties extends ExpandingResourceScanProperties {
1446
1020
  }
1447
1021
 
1448
- export declare interface AzureSynapseWorkspaceMsiScanPropertiesBase {
1022
+ export declare interface AzureSynapseWorkspaceMsiScanPropertiesAutoGenerated extends AzureSynapseWorkspaceMsiScanProperties {
1449
1023
  }
1450
1024
 
1451
- export declare type AzureSynapseWorkspaceProperties = AzureSynapseWorkspacePropertiesBase & AzureDataSourceProperties;
1452
-
1453
- export declare interface AzureSynapseWorkspacePropertiesBase {
1025
+ export declare interface AzureSynapseWorkspaceProperties extends AzureDataSourceProperties {
1454
1026
  dedicatedSqlEndpoint?: string;
1455
1027
  serverlessSqlEndpoint?: string;
1456
1028
  }
1457
1029
 
1458
- export declare type AzureSynapseWorkspaceScanRuleset = AzureSynapseWorkspaceScanRulesetBase & ScanRuleset;
1459
-
1460
- export declare interface AzureSynapseWorkspaceScanRulesetBase {
1030
+ export declare interface AzureSynapseWorkspaceScanRuleset extends ScanRulesetBase {
1461
1031
  properties?: AzureSynapseWorkspaceScanRulesetPropertiesAutoGenerated;
1032
+ kind: "AzureSynapseWorkspace";
1462
1033
  }
1463
1034
 
1464
- export declare type AzureSynapseWorkspaceScanRulesetProperties = AzureSynapseWorkspaceScanRulesetPropertiesBase & ScanRulesetProperties;
1465
-
1466
- export declare type AzureSynapseWorkspaceScanRulesetPropertiesAutoGenerated = AzureSynapseWorkspaceScanRulesetPropertiesAutoGeneratedBase & AzureSynapseWorkspaceScanRulesetProperties;
1467
-
1468
- export declare interface AzureSynapseWorkspaceScanRulesetPropertiesAutoGeneratedBase {
1035
+ export declare interface AzureSynapseWorkspaceScanRulesetProperties extends ScanRulesetProperties {
1469
1036
  }
1470
1037
 
1471
- export declare interface AzureSynapseWorkspaceScanRulesetPropertiesBase {
1038
+ export declare interface AzureSynapseWorkspaceScanRulesetPropertiesAutoGenerated extends AzureSynapseWorkspaceScanRulesetProperties {
1472
1039
  }
1473
1040
 
1474
- export declare type AzureSynapseWorkspaceSystemScanRuleset = AzureSynapseWorkspaceSystemScanRulesetBase & SystemScanRuleset;
1475
-
1476
- export declare interface AzureSynapseWorkspaceSystemScanRulesetBase {
1041
+ export declare interface AzureSynapseWorkspaceSystemScanRuleset extends SystemScanRulesetBase {
1477
1042
  properties?: AzureSynapseWorkspaceSystemScanRulesetProperties;
1043
+ kind: "None";
1478
1044
  }
1479
1045
 
1480
- export declare type AzureSynapseWorkspaceSystemScanRulesetProperties = AzureSynapseWorkspaceSystemScanRulesetPropertiesBase & AzureSynapseWorkspaceScanRulesetProperties;
1481
-
1482
- export declare interface AzureSynapseWorkspaceSystemScanRulesetPropertiesBase {
1046
+ export declare interface AzureSynapseWorkspaceSystemScanRulesetProperties extends AzureSynapseWorkspaceScanRulesetProperties {
1483
1047
  }
1484
1048
 
1485
- export declare type ClassificationAction = "Keep" | "Delete";
1486
-
1487
- export declare type ClassificationRule = ClassificationRuleBase & ProxyResource;
1049
+ export declare type ClassificationRule = ClassificationRuleBase | SystemClassificationRule | CustomClassificationRule;
1488
1050
 
1489
- export declare interface ClassificationRuleBase {
1490
- kind: ClassificationRuleType;
1051
+ export declare interface ClassificationRuleBase extends ProxyResource {
1052
+ kind: "ClassificationRule" | "System" | "Custom";
1491
1053
  }
1492
1054
 
1493
1055
  export declare interface ClassificationRuleList {
1494
- value?: ClassificationRule[];
1056
+ value?: Array<ClassificationRule>;
1495
1057
  nextLink?: string;
1496
1058
  count?: number;
1497
1059
  }
1498
1060
 
1499
- export declare interface ClassificationRulePattern {
1500
- kind: ClassificationRulePatternType;
1501
- }
1061
+ export declare type ClassificationRulePattern = RegexClassificationRulePattern;
1502
1062
 
1503
- export declare type ClassificationRulePatternType = "Regex";
1063
+ export declare interface ClassificationRulePatternBase {
1064
+ kind: "Regex";
1065
+ }
1504
1066
 
1505
1067
  /** Creates or Updates a classification rule */
1506
1068
  export declare interface ClassificationRulesCreateOrUpdate200Response extends HttpResponse {
@@ -1524,16 +1086,7 @@ export declare interface ClassificationRulesCreateOrUpdatedefaultResponse extend
1524
1086
  body: ErrorResponseModel;
1525
1087
  }
1526
1088
 
1527
- export declare type ClassificationRulesCreateOrUpdateParameters = RequestParameters & ClassificationRulesCreateOrUpdateBodyParam;
1528
-
1529
- export declare interface ClassificationRulesDelete {
1530
- /** Get a classification rule */
1531
- get(options?: ClassificationRulesGetParameters): Promise<ClassificationRulesGet200Response | ClassificationRulesGetdefaultResponse>;
1532
- /** Creates or Updates a classification rule */
1533
- put(options?: ClassificationRulesCreateOrUpdateParameters): Promise<ClassificationRulesCreateOrUpdate200Response | ClassificationRulesCreateOrUpdate201Response | ClassificationRulesCreateOrUpdatedefaultResponse>;
1534
- /** Deletes a classification rule */
1535
- delete(options?: ClassificationRulesDeleteParameters): Promise<ClassificationRulesDelete200Response | ClassificationRulesDelete204Response | ClassificationRulesDeletedefaultResponse>;
1536
- }
1089
+ export declare type ClassificationRulesCreateOrUpdateParameters = ClassificationRulesCreateOrUpdateBodyParam & RequestParameters;
1537
1090
 
1538
1091
  /** Deletes a classification rule */
1539
1092
  export declare interface ClassificationRulesDelete200Response extends HttpResponse {
@@ -1544,6 +1097,7 @@ export declare interface ClassificationRulesDelete200Response extends HttpRespon
1544
1097
  /** Deletes a classification rule */
1545
1098
  export declare interface ClassificationRulesDelete204Response extends HttpResponse {
1546
1099
  status: "204";
1100
+ body: Record<string, unknown>;
1547
1101
  }
1548
1102
 
1549
1103
  /** Deletes a classification rule */
@@ -1554,6 +1108,15 @@ export declare interface ClassificationRulesDeletedefaultResponse extends HttpRe
1554
1108
 
1555
1109
  export declare type ClassificationRulesDeleteParameters = RequestParameters;
1556
1110
 
1111
+ export declare interface ClassificationRulesGet {
1112
+ /** Get a classification rule */
1113
+ get(options?: ClassificationRulesGetParameters): Promise<ClassificationRulesGet200Response | ClassificationRulesGetdefaultResponse>;
1114
+ /** Creates or Updates a classification rule */
1115
+ put(options?: ClassificationRulesCreateOrUpdateParameters): Promise<ClassificationRulesCreateOrUpdate200Response | ClassificationRulesCreateOrUpdate201Response | ClassificationRulesCreateOrUpdatedefaultResponse>;
1116
+ /** Deletes a classification rule */
1117
+ delete(options?: ClassificationRulesDeleteParameters): Promise<ClassificationRulesDelete200Response | ClassificationRulesDelete204Response | ClassificationRulesDeletedefaultResponse>;
1118
+ }
1119
+
1557
1120
  /** Get a classification rule */
1558
1121
  export declare interface ClassificationRulesGet200Response extends HttpResponse {
1559
1122
  status: "200";
@@ -1608,7 +1171,7 @@ export declare type ClassificationRulesListVersionsByClassificationRuleNameParam
1608
1171
 
1609
1172
  export declare interface ClassificationRulesTagClassificationVersion {
1610
1173
  /** Sets Classification Action on a specific classification rule version. */
1611
- post(options?: ClassificationRulesTagClassificationVersionParameters): Promise<ClassificationRulesTagClassificationVersion202Response | ClassificationRulesTagClassificationVersiondefaultResponse>;
1174
+ post(options: ClassificationRulesTagClassificationVersionParameters): Promise<ClassificationRulesTagClassificationVersion202Response | ClassificationRulesTagClassificationVersiondefaultResponse>;
1612
1175
  }
1613
1176
 
1614
1177
  /** Sets Classification Action on a specific classification rule version. */
@@ -1623,19 +1186,21 @@ export declare interface ClassificationRulesTagClassificationVersiondefaultRespo
1623
1186
  body: ErrorResponseModel;
1624
1187
  }
1625
1188
 
1626
- export declare type ClassificationRulesTagClassificationVersionParameters = RequestParameters & ClassificationRulesTagClassificationVersionQueryParam;
1189
+ export declare type ClassificationRulesTagClassificationVersionParameters = ClassificationRulesTagClassificationVersionQueryParam & RequestParameters;
1627
1190
 
1628
1191
  export declare interface ClassificationRulesTagClassificationVersionQueryParam {
1629
1192
  queryParameters: ClassificationRulesTagClassificationVersionQueryParamProperties;
1630
1193
  }
1631
1194
 
1632
1195
  export declare interface ClassificationRulesTagClassificationVersionQueryParamProperties {
1633
- action: ClassificationAction;
1196
+ action: "Keep" | "Delete";
1634
1197
  }
1635
1198
 
1636
- export declare type ClassificationRuleStatus = "Enabled" | "Disabled";
1637
-
1638
- export declare type ClassificationRuleType = "System" | "Custom";
1199
+ export declare interface CollectionReference {
1200
+ lastModifiedAt?: Date;
1201
+ referenceName?: string;
1202
+ type?: string;
1203
+ }
1639
1204
 
1640
1205
  export declare interface ConnectedVia {
1641
1206
  referenceName?: string;
@@ -1643,33 +1208,28 @@ export declare interface ConnectedVia {
1643
1208
 
1644
1209
  export declare interface CredentialReference {
1645
1210
  referenceName?: string;
1646
- credentialType?: CredentialType;
1211
+ credentialType?: "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN";
1647
1212
  }
1648
1213
 
1649
- export declare type CredentialType = "AccountKey" | "ServicePrincipal" | "BasicAuth" | "SqlAuth" | "AmazonARN";
1650
-
1651
- export declare type CustomClassificationRule = CustomClassificationRuleBase & ClassificationRule;
1652
-
1653
- export declare interface CustomClassificationRuleBase {
1214
+ export declare interface CustomClassificationRule extends ClassificationRuleBase {
1654
1215
  properties?: CustomClassificationRulePropertiesAutoGenerated;
1216
+ kind: "Custom";
1655
1217
  }
1656
1218
 
1657
1219
  export declare interface CustomClassificationRuleProperties {
1658
1220
  minimumPercentageMatch?: number;
1659
- classificationAction?: ClassificationAction;
1660
- dataPatterns?: ClassificationRulePattern[];
1661
- columnPatterns?: ClassificationRulePattern[];
1221
+ classificationAction?: "Keep" | "Delete";
1222
+ dataPatterns?: Array<ClassificationRulePattern>;
1223
+ columnPatterns?: Array<ClassificationRulePattern>;
1662
1224
  description?: string;
1663
1225
  version?: number;
1664
1226
  classificationName?: string;
1665
- ruleStatus?: ClassificationRuleStatus;
1227
+ ruleStatus?: "Enabled" | "Disabled";
1666
1228
  createdAt?: Date;
1667
1229
  lastModifiedAt?: Date;
1668
1230
  }
1669
1231
 
1670
- export declare type CustomClassificationRulePropertiesAutoGenerated = CustomClassificationRulePropertiesAutoGeneratedBase & CustomClassificationRuleProperties;
1671
-
1672
- export declare interface CustomClassificationRulePropertiesAutoGeneratedBase {
1232
+ export declare interface CustomClassificationRulePropertiesAutoGenerated extends CustomClassificationRuleProperties {
1673
1233
  }
1674
1234
 
1675
1235
  export declare interface CustomFileExtension {
@@ -1679,25 +1239,23 @@ export declare interface CustomFileExtension {
1679
1239
  fileExtension?: string;
1680
1240
  }
1681
1241
 
1682
- export declare type CustomFileExtensionCustomFileType = CustomFileExtensionCustomFileTypeBase & CustomFileType;
1683
-
1684
- export declare interface CustomFileExtensionCustomFileTypeBase {
1242
+ export declare interface CustomFileExtensionCustomFileType extends CustomFileType {
1685
1243
  }
1686
1244
 
1687
1245
  export declare interface CustomFileType {
1688
- builtInType?: FileExtensionsType;
1246
+ builtInType?: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT";
1689
1247
  customDelimiter?: string;
1690
1248
  }
1691
1249
 
1692
- export declare type DataSource = DataSourceBase & ProxyResource;
1250
+ export declare type DataSource = DataSourceBase | AzureSubscriptionDataSource | AzureResourceGroupDataSource | AzureSynapseWorkspaceDataSource | AzureSynapseDataSource | AdlsGen1DataSource | AdlsGen2DataSource | AmazonAccountDataSource | AmazonS3DataSource | AmazonSqlDataSource | AzureCosmosDbDataSource | AzureDataExplorerDataSource | AzureFileServiceDataSource | AzureSqlDatabaseDataSource | AmazonPostgreSqlDataSource | AzurePostgreSqlDataSource | SqlServerDatabaseDataSource | AzureSqlDatabaseManagedInstanceDataSource | AzureSqlDataWarehouseDataSource | AzureMySqlDataSource | AzureStorageDataSource | TeradataDataSource | OracleDataSource | SapS4HanaDataSource | SapEccDataSource | PowerBIDataSource;
1693
1251
 
1694
- export declare interface DataSourceBase {
1695
- kind: DataSourceType;
1696
- scans?: Scan[];
1252
+ export declare interface DataSourceBase extends ProxyResource {
1253
+ scans?: Array<Scan>;
1254
+ kind: "DataSource" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI";
1697
1255
  }
1698
1256
 
1699
1257
  export declare interface DataSourceList {
1700
- value?: DataSource[];
1258
+ value?: Array<DataSource>;
1701
1259
  nextLink?: string;
1702
1260
  count?: number;
1703
1261
  }
@@ -1705,6 +1263,19 @@ export declare interface DataSourceList {
1705
1263
  export declare interface DataSourceProperties {
1706
1264
  createdAt?: Date;
1707
1265
  lastModifiedAt?: Date;
1266
+ collection?: DataSourcePropertiesCollection;
1267
+ }
1268
+
1269
+ export declare interface DataSourcePropertiesCollection extends CollectionReference {
1270
+ }
1271
+
1272
+ export declare interface DataSourcesCreateOrUpdate {
1273
+ /** Creates or Updates a data source */
1274
+ put(options?: DataSourcesCreateOrUpdateParameters): Promise<DataSourcesCreateOrUpdate200Response | DataSourcesCreateOrUpdate201Response | DataSourcesCreateOrUpdatedefaultResponse>;
1275
+ /** Get a data source */
1276
+ get(options?: DataSourcesGetParameters): Promise<DataSourcesGet200Response | DataSourcesGetdefaultResponse>;
1277
+ /** Deletes a data source */
1278
+ delete(options?: DataSourcesDeleteParameters): Promise<DataSourcesDelete200Response | DataSourcesDelete204Response | DataSourcesDeletedefaultResponse>;
1708
1279
  }
1709
1280
 
1710
1281
  /** Creates or Updates a data source */
@@ -1729,16 +1300,7 @@ export declare interface DataSourcesCreateOrUpdatedefaultResponse extends HttpRe
1729
1300
  body: ErrorResponseModel;
1730
1301
  }
1731
1302
 
1732
- export declare type DataSourcesCreateOrUpdateParameters = RequestParameters & DataSourcesCreateOrUpdateBodyParam;
1733
-
1734
- export declare interface DataSourcesDelete {
1735
- /** Creates or Updates a data source */
1736
- put(options?: DataSourcesCreateOrUpdateParameters): Promise<DataSourcesCreateOrUpdate200Response | DataSourcesCreateOrUpdate201Response | DataSourcesCreateOrUpdatedefaultResponse>;
1737
- /** Get a data source */
1738
- get(options?: DataSourcesGetParameters): Promise<DataSourcesGet200Response | DataSourcesGetdefaultResponse>;
1739
- /** Deletes a data source */
1740
- delete(options?: DataSourcesDeleteParameters): Promise<DataSourcesDelete200Response | DataSourcesDelete204Response | DataSourcesDeletedefaultResponse>;
1741
- }
1303
+ export declare type DataSourcesCreateOrUpdateParameters = DataSourcesCreateOrUpdateBodyParam & RequestParameters;
1742
1304
 
1743
1305
  /** Deletes a data source */
1744
1306
  export declare interface DataSourcesDelete200Response extends HttpResponse {
@@ -1749,6 +1311,7 @@ export declare interface DataSourcesDelete200Response extends HttpResponse {
1749
1311
  /** Deletes a data source */
1750
1312
  export declare interface DataSourcesDelete204Response extends HttpResponse {
1751
1313
  status: "204";
1314
+ body: Record<string, unknown>;
1752
1315
  }
1753
1316
 
1754
1317
  /** Deletes a data source */
@@ -1792,99 +1355,74 @@ export declare interface DataSourcesListAlldefaultResponse extends HttpResponse
1792
1355
 
1793
1356
  export declare type DataSourcesListAllParameters = RequestParameters;
1794
1357
 
1795
- export declare type DataSourceType = "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI";
1796
-
1797
- export declare type DayOfWeek = "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday";
1798
-
1799
- export declare type DaysOfWeek = "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday";
1800
-
1801
1358
  export declare interface ErrorInfo {
1802
1359
  code?: string;
1803
1360
  message?: string;
1804
1361
  target?: string;
1805
- details?: ErrorInfo[];
1362
+ details?: Array<ErrorInfo>;
1806
1363
  }
1807
1364
 
1808
1365
  export declare interface ErrorModel {
1809
1366
  code?: string;
1810
1367
  message?: string;
1811
1368
  target?: string;
1812
- details?: ErrorModel[];
1369
+ details?: Array<ErrorModel>;
1813
1370
  }
1814
1371
 
1815
1372
  export declare interface ErrorResponseModel {
1816
1373
  error?: ErrorResponseModelError;
1817
1374
  }
1818
1375
 
1819
- export declare type ErrorResponseModelError = ErrorResponseModelErrorBase & ErrorModel;
1820
-
1821
- export declare interface ErrorResponseModelErrorBase {
1376
+ export declare interface ErrorResponseModelError extends ErrorModel {
1822
1377
  }
1823
1378
 
1824
- export declare type ExpandingResourceScanProperties = ExpandingResourceScanPropertiesBase & ScanProperties;
1825
-
1826
- export declare interface ExpandingResourceScanPropertiesBase {
1379
+ export declare interface ExpandingResourceScanProperties extends ScanProperties {
1827
1380
  resourceTypes?: ExpandingResourceScanPropertiesResourceTypes;
1828
1381
  credential?: ExpandingResourceScanPropertiesCredential;
1829
1382
  }
1830
1383
 
1831
- export declare type ExpandingResourceScanPropertiesCredential = ExpandingResourceScanPropertiesCredentialBase & CredentialReference;
1832
-
1833
- export declare interface ExpandingResourceScanPropertiesCredentialBase {
1384
+ export declare interface ExpandingResourceScanPropertiesCredential extends CredentialReference {
1834
1385
  }
1835
1386
 
1836
1387
  export declare interface ExpandingResourceScanPropertiesResourceTypes {
1837
- none?: ResourceTypeFilter;
1838
- azureSubscription?: ResourceTypeFilter;
1839
- azureResourceGroup?: ResourceTypeFilter;
1840
- azureSynapseWorkspace?: ResourceTypeFilter;
1841
- azureSynapse?: ResourceTypeFilter;
1842
- adlsGen1?: ResourceTypeFilter;
1843
- adlsGen2?: ResourceTypeFilter;
1844
- amazonAccount?: ResourceTypeFilter;
1845
- amazonS3?: ResourceTypeFilter;
1846
- amazonSql?: ResourceTypeFilter;
1847
- azureCosmosDb?: ResourceTypeFilter;
1848
- azureDataExplorer?: ResourceTypeFilter;
1849
- azureFileService?: ResourceTypeFilter;
1850
- azureSqlDatabase?: ResourceTypeFilter;
1851
- amazonPostgreSql?: ResourceTypeFilter;
1852
- azurePostgreSql?: ResourceTypeFilter;
1853
- sqlServerDatabase?: ResourceTypeFilter;
1854
- azureSqlDatabaseManagedInstance?: ResourceTypeFilter;
1855
- azureSqlDataWarehouse?: ResourceTypeFilter;
1856
- azureMySql?: ResourceTypeFilter;
1857
- azureStorage?: ResourceTypeFilter;
1858
- teradata?: ResourceTypeFilter;
1859
- oracle?: ResourceTypeFilter;
1860
- sapS4Hana?: ResourceTypeFilter;
1861
- sapEcc?: ResourceTypeFilter;
1862
- powerBI?: ResourceTypeFilter;
1863
- }
1864
-
1865
- export declare type FileExtensionsType = "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT";
1866
-
1867
- export declare type Filter = FilterBase & ProxyResource;
1868
-
1869
- export declare interface FilterBase {
1870
- properties?: FilterProperties;
1871
- }
1872
-
1873
- export declare type FilterProperties = FilterPropertiesBase & FilterPropertiesAutoGenerated;
1874
-
1875
- export declare interface FilterPropertiesAutoGenerated {
1876
- excludeUriPrefixes?: string[];
1877
- includeUriPrefixes?: string[];
1878
- }
1879
-
1880
- export declare interface FilterPropertiesBase {
1881
- }
1882
-
1883
- export declare interface FiltersCreateOrUpdate {
1884
- /** Get a filter */
1885
- get(options?: FiltersGetParameters): Promise<FiltersGet200Response | FiltersGetdefaultResponse>;
1886
- /** Creates or updates a filter */
1887
- put(options?: FiltersCreateOrUpdateParameters): Promise<FiltersCreateOrUpdate200Response | FiltersCreateOrUpdate201Response | FiltersCreateOrUpdatedefaultResponse>;
1388
+ None?: ResourceTypeFilter;
1389
+ AzureSubscription?: ResourceTypeFilter;
1390
+ AzureResourceGroup?: ResourceTypeFilter;
1391
+ AzureSynapseWorkspace?: ResourceTypeFilter;
1392
+ AzureSynapse?: ResourceTypeFilter;
1393
+ AdlsGen1?: ResourceTypeFilter;
1394
+ AdlsGen2?: ResourceTypeFilter;
1395
+ AmazonAccount?: ResourceTypeFilter;
1396
+ AmazonS3?: ResourceTypeFilter;
1397
+ AmazonSql?: ResourceTypeFilter;
1398
+ AzureCosmosDb?: ResourceTypeFilter;
1399
+ AzureDataExplorer?: ResourceTypeFilter;
1400
+ AzureFileService?: ResourceTypeFilter;
1401
+ AzureSqlDatabase?: ResourceTypeFilter;
1402
+ AmazonPostgreSql?: ResourceTypeFilter;
1403
+ AzurePostgreSql?: ResourceTypeFilter;
1404
+ SqlServerDatabase?: ResourceTypeFilter;
1405
+ AzureSqlDatabaseManagedInstance?: ResourceTypeFilter;
1406
+ AzureSqlDataWarehouse?: ResourceTypeFilter;
1407
+ AzureMySql?: ResourceTypeFilter;
1408
+ AzureStorage?: ResourceTypeFilter;
1409
+ Teradata?: ResourceTypeFilter;
1410
+ Oracle?: ResourceTypeFilter;
1411
+ SapS4Hana?: ResourceTypeFilter;
1412
+ SapEcc?: ResourceTypeFilter;
1413
+ PowerBI?: ResourceTypeFilter;
1414
+ }
1415
+
1416
+ export declare interface Filter extends ProxyResource {
1417
+ properties?: FilterPropertiesAutoGenerated;
1418
+ }
1419
+
1420
+ export declare interface FilterProperties {
1421
+ excludeUriPrefixes?: Array<string>;
1422
+ includeUriPrefixes?: Array<string>;
1423
+ }
1424
+
1425
+ export declare interface FilterPropertiesAutoGenerated extends FilterProperties {
1888
1426
  }
1889
1427
 
1890
1428
  /** Creates or updates a filter */
@@ -1909,7 +1447,14 @@ export declare interface FiltersCreateOrUpdatedefaultResponse extends HttpRespon
1909
1447
  body: ErrorResponseModel;
1910
1448
  }
1911
1449
 
1912
- export declare type FiltersCreateOrUpdateParameters = RequestParameters & FiltersCreateOrUpdateBodyParam;
1450
+ export declare type FiltersCreateOrUpdateParameters = FiltersCreateOrUpdateBodyParam & RequestParameters;
1451
+
1452
+ export declare interface FiltersGet {
1453
+ /** Get a filter */
1454
+ get(options?: FiltersGetParameters): Promise<FiltersGet200Response | FiltersGetdefaultResponse>;
1455
+ /** Creates or updates a filter */
1456
+ put(options?: FiltersCreateOrUpdateParameters): Promise<FiltersCreateOrUpdate200Response | FiltersCreateOrUpdate201Response | FiltersCreateOrUpdatedefaultResponse>;
1457
+ }
1913
1458
 
1914
1459
  /** Get a filter */
1915
1460
  export declare interface FiltersGet200Response extends HttpResponse {
@@ -1925,6 +1470,19 @@ export declare interface FiltersGetdefaultResponse extends HttpResponse {
1925
1470
 
1926
1471
  export declare type FiltersGetParameters = RequestParameters;
1927
1472
 
1473
+ /**
1474
+ * Helper type to extract the type of an array
1475
+ */
1476
+ export declare type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
1477
+
1478
+ /**
1479
+ * The type of a custom function that defines how to get a page and a link to the next one if any.
1480
+ */
1481
+ export declare type GetPage<TPage> = (pageLink: string, maxPageSize?: number) => Promise<{
1482
+ page: TPage;
1483
+ nextPageLink?: string;
1484
+ }>;
1485
+
1928
1486
  /** Creates an instance of a key vault connection */
1929
1487
  export declare interface KeyVaultConnectionsCreate200Response extends HttpResponse {
1930
1488
  status: "200";
@@ -1941,16 +1499,7 @@ export declare interface KeyVaultConnectionsCreatedefaultResponse extends HttpRe
1941
1499
  body: ErrorResponseModel;
1942
1500
  }
1943
1501
 
1944
- export declare type KeyVaultConnectionsCreateParameters = RequestParameters & KeyVaultConnectionsCreateBodyParam;
1945
-
1946
- export declare interface KeyVaultConnectionsDelete {
1947
- /** Gets key vault information */
1948
- get(options?: KeyVaultConnectionsGetParameters): Promise<KeyVaultConnectionsGet200Response | KeyVaultConnectionsGetdefaultResponse>;
1949
- /** Creates an instance of a key vault connection */
1950
- put(options: KeyVaultConnectionsCreateParameters): Promise<KeyVaultConnectionsCreate200Response | KeyVaultConnectionsCreatedefaultResponse>;
1951
- /** Deletes the key vault connection associated with the account */
1952
- delete(options?: KeyVaultConnectionsDeleteParameters): Promise<KeyVaultConnectionsDelete200Response | KeyVaultConnectionsDelete204Response | KeyVaultConnectionsDeletedefaultResponse>;
1953
- }
1502
+ export declare type KeyVaultConnectionsCreateParameters = KeyVaultConnectionsCreateBodyParam & RequestParameters;
1954
1503
 
1955
1504
  /** Deletes the key vault connection associated with the account */
1956
1505
  export declare interface KeyVaultConnectionsDelete200Response extends HttpResponse {
@@ -1961,6 +1510,7 @@ export declare interface KeyVaultConnectionsDelete200Response extends HttpRespon
1961
1510
  /** Deletes the key vault connection associated with the account */
1962
1511
  export declare interface KeyVaultConnectionsDelete204Response extends HttpResponse {
1963
1512
  status: "204";
1513
+ body: Record<string, unknown>;
1964
1514
  }
1965
1515
 
1966
1516
  /** Deletes the key vault connection associated with the account */
@@ -1971,6 +1521,15 @@ export declare interface KeyVaultConnectionsDeletedefaultResponse extends HttpRe
1971
1521
 
1972
1522
  export declare type KeyVaultConnectionsDeleteParameters = RequestParameters;
1973
1523
 
1524
+ export declare interface KeyVaultConnectionsGet {
1525
+ /** Gets key vault information */
1526
+ get(options?: KeyVaultConnectionsGetParameters): Promise<KeyVaultConnectionsGet200Response | KeyVaultConnectionsGetdefaultResponse>;
1527
+ /** Creates an instance of a key vault connection */
1528
+ put(options: KeyVaultConnectionsCreateParameters): Promise<KeyVaultConnectionsCreate200Response | KeyVaultConnectionsCreatedefaultResponse>;
1529
+ /** Deletes the key vault connection associated with the account */
1530
+ delete(options?: KeyVaultConnectionsDeleteParameters): Promise<KeyVaultConnectionsDelete200Response | KeyVaultConnectionsDelete204Response | KeyVaultConnectionsDeletedefaultResponse>;
1531
+ }
1532
+
1974
1533
  /** Gets key vault information */
1975
1534
  export declare interface KeyVaultConnectionsGet200Response extends HttpResponse {
1976
1535
  status: "200";
@@ -2004,9 +1563,7 @@ export declare interface KeyVaultConnectionsListAlldefaultResponse extends HttpR
2004
1563
 
2005
1564
  export declare type KeyVaultConnectionsListAllParameters = RequestParameters;
2006
1565
 
2007
- export declare type MitiScanProperties = MitiScanPropertiesBase & ScanProperties;
2008
-
2009
- export declare interface MitiScanPropertiesBase {
1566
+ export declare interface MitiScanProperties extends ScanProperties {
2010
1567
  maximumMemoryAllowedInGb?: string;
2011
1568
  mitiCache?: string;
2012
1569
  }
@@ -2017,135 +1574,128 @@ export declare interface Notification {
2017
1574
  }
2018
1575
 
2019
1576
  export declare interface OperationResponse {
1577
+ /** Value may contain a UUID */
2020
1578
  scanResultId?: string;
2021
1579
  startTime?: Date;
2022
1580
  endTime?: Date;
2023
- status?: OperationStatus;
1581
+ status?: "Accepted" | "InProgress" | "TransientFailure" | "Succeeded" | "Failed" | "Canceled";
2024
1582
  error?: OperationResponseError;
2025
1583
  }
2026
1584
 
2027
- export declare type OperationResponseError = OperationResponseErrorBase & ErrorInfo;
2028
-
2029
- export declare interface OperationResponseErrorBase {
1585
+ export declare interface OperationResponseError extends ErrorInfo {
2030
1586
  }
2031
1587
 
2032
- export declare type OperationStatus = "Accepted" | "InProgress" | "TransientFailure" | "Succeeded" | "Failed" | "Canceled";
2033
-
2034
- export declare type OracleCredentialScan = OracleCredentialScanBase & Scan;
2035
-
2036
- export declare interface OracleCredentialScanBase {
1588
+ export declare interface OracleCredentialScan extends ScanBase {
2037
1589
  properties?: OracleCredentialScanPropertiesAutoGenerated;
1590
+ kind: "OracleOracleCredential";
2038
1591
  }
2039
1592
 
2040
- export declare type OracleCredentialScanProperties = OracleCredentialScanPropertiesBase & MitiScanProperties;
2041
-
2042
- export declare type OracleCredentialScanPropertiesAutoGenerated = OracleCredentialScanPropertiesAutoGeneratedBase & OracleCredentialScanProperties;
2043
-
2044
- export declare interface OracleCredentialScanPropertiesAutoGeneratedBase {
2045
- }
2046
-
2047
- export declare interface OracleCredentialScanPropertiesBase {
1593
+ export declare interface OracleCredentialScanProperties extends MitiScanProperties {
2048
1594
  credential?: OracleCredentialScanPropertiesCredential;
2049
1595
  schema?: string;
2050
1596
  driverLocation?: string;
2051
1597
  }
2052
1598
 
2053
- export declare type OracleCredentialScanPropertiesCredential = OracleCredentialScanPropertiesCredentialBase & CredentialReference;
2054
-
2055
- export declare interface OracleCredentialScanPropertiesCredentialBase {
1599
+ export declare interface OracleCredentialScanPropertiesAutoGenerated extends OracleCredentialScanProperties {
2056
1600
  }
2057
1601
 
2058
- export declare type OracleDataSource = OracleDataSourceBase & DataSource;
1602
+ export declare interface OracleCredentialScanPropertiesCredential extends CredentialReference {
1603
+ }
2059
1604
 
2060
- export declare interface OracleDataSourceBase {
1605
+ export declare interface OracleDataSource extends DataSourceBase {
2061
1606
  properties?: OracleDataSourceProperties;
1607
+ kind: "Oracle";
2062
1608
  }
2063
1609
 
2064
- export declare type OracleDataSourceProperties = OracleDataSourcePropertiesBase & OracleProperties;
2065
-
2066
- export declare interface OracleDataSourcePropertiesBase {
1610
+ export declare interface OracleDataSourceProperties extends OracleProperties {
2067
1611
  }
2068
1612
 
2069
- export declare type OracleProperties = OraclePropertiesBase & DataSourceProperties;
2070
-
2071
- export declare interface OraclePropertiesBase {
1613
+ export declare interface OracleProperties extends DataSourceProperties {
2072
1614
  host?: string;
2073
1615
  port?: string;
2074
1616
  service?: string;
2075
1617
  }
2076
1618
 
2077
- export declare type OracleScanRuleset = OracleScanRulesetBase & ScanRuleset;
2078
-
2079
- export declare interface OracleScanRulesetBase {
1619
+ export declare interface OracleScanRuleset extends ScanRulesetBase {
2080
1620
  properties?: OracleScanRulesetPropertiesAutoGenerated;
1621
+ kind: "Oracle";
2081
1622
  }
2082
1623
 
2083
- export declare type OracleScanRulesetProperties = OracleScanRulesetPropertiesBase & ScanRulesetProperties;
2084
-
2085
- export declare type OracleScanRulesetPropertiesAutoGenerated = OracleScanRulesetPropertiesAutoGeneratedBase & OracleScanRulesetProperties;
2086
-
2087
- export declare interface OracleScanRulesetPropertiesAutoGeneratedBase {
1624
+ export declare interface OracleScanRulesetProperties extends ScanRulesetProperties {
2088
1625
  }
2089
1626
 
2090
- export declare interface OracleScanRulesetPropertiesBase {
1627
+ export declare interface OracleScanRulesetPropertiesAutoGenerated extends OracleScanRulesetProperties {
2091
1628
  }
2092
1629
 
2093
- export declare type OracleSystemScanRuleset = OracleSystemScanRulesetBase & SystemScanRuleset;
2094
-
2095
- export declare interface OracleSystemScanRulesetBase {
1630
+ export declare interface OracleSystemScanRuleset extends SystemScanRulesetBase {
2096
1631
  properties?: OracleSystemScanRulesetProperties;
1632
+ kind: "None";
2097
1633
  }
2098
1634
 
2099
- export declare type OracleSystemScanRulesetProperties = OracleSystemScanRulesetPropertiesBase & OracleScanRulesetProperties;
2100
-
2101
- export declare interface OracleSystemScanRulesetPropertiesBase {
1635
+ export declare interface OracleSystemScanRulesetProperties extends OracleScanRulesetProperties {
2102
1636
  }
2103
1637
 
2104
- export declare type OracleUserPassScan = OracleUserPassScanBase & Scan;
2105
-
2106
- export declare interface OracleUserPassScanBase {
1638
+ export declare interface OracleUserPassScan extends ScanBase {
2107
1639
  properties?: OracleUserPassScanPropertiesAutoGenerated;
1640
+ kind: "OracleOracleUserPass";
2108
1641
  }
2109
1642
 
2110
- export declare type OracleUserPassScanProperties = OracleUserPassScanPropertiesBase & MitiScanProperties;
2111
-
2112
- export declare type OracleUserPassScanPropertiesAutoGenerated = OracleUserPassScanPropertiesAutoGeneratedBase & OracleUserPassScanProperties;
2113
-
2114
- export declare interface OracleUserPassScanPropertiesAutoGeneratedBase {
2115
- }
2116
-
2117
- export declare interface OracleUserPassScanPropertiesBase {
1643
+ export declare interface OracleUserPassScanProperties extends MitiScanProperties {
2118
1644
  username?: string;
2119
1645
  password?: string;
2120
1646
  schema?: string;
2121
1647
  driverLocation?: string;
2122
1648
  }
2123
1649
 
2124
- export declare type PowerBIDataSource = PowerBIDataSourceBase & DataSource;
2125
-
2126
- export declare interface PowerBIDataSourceBase {
1650
+ export declare interface OracleUserPassScanPropertiesAutoGenerated extends OracleUserPassScanProperties {
1651
+ }
1652
+
1653
+ /**
1654
+ * Helper to paginate results from an initial response that follows the specification of Autorest `x-ms-pageable` extension
1655
+ * @param client - Client to use for sending the next page requests
1656
+ * @param initialResponse - Initial response containing the nextLink and current page of elements
1657
+ * @param customGetPage - Optional - Function to define how to extract the page and next link to be used to paginate the results
1658
+ * @returns - PagedAsyncIterableIterator to iterate the elements
1659
+ */
1660
+ export declare function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
1661
+
1662
+ /**
1663
+ * Helper type to infer the Type of the paged elements from the response type
1664
+ * This type is generated based on the swagger information for x-ms-pageable
1665
+ * specifically on the itemName property which indicates the property of the response
1666
+ * where the page items are found. The default value is `value`.
1667
+ * This type will allow us to provide strongly typed Iterator based on the response we get as second parameter
1668
+ */
1669
+ export declare type PaginateReturn<TResult> = TResult extends {
1670
+ body: {
1671
+ value?: infer TPage;
1672
+ };
1673
+ } ? GetArrayType<TPage> : Array<unknown>;
1674
+
1675
+ /**
1676
+ * Options for the paging helper
1677
+ */
1678
+ export declare interface PagingOptions<TResponse> {
1679
+ /**
1680
+ * Custom function to extract pagination details for crating the PagedAsyncIterableIterator
1681
+ */
1682
+ customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
1683
+ }
1684
+
1685
+ export declare interface PowerBIDataSource extends DataSourceBase {
2127
1686
  properties?: PowerBIDataSourceProperties;
1687
+ kind: "PowerBI";
2128
1688
  }
2129
1689
 
2130
- export declare type PowerBIDataSourceProperties = PowerBIDataSourcePropertiesBase & PowerBIProperties;
2131
-
2132
- export declare interface PowerBIDataSourcePropertiesBase {
1690
+ export declare interface PowerBIDataSourceProperties extends PowerBIProperties {
2133
1691
  }
2134
1692
 
2135
- export declare type PowerBIDelegatedScan = PowerBIDelegatedScanBase & Scan;
2136
-
2137
- export declare interface PowerBIDelegatedScanBase {
1693
+ export declare interface PowerBIDelegatedScan extends ScanBase {
2138
1694
  properties?: PowerBIDelegatedScanPropertiesAutoGenerated;
1695
+ kind: "PowerBIDelegated";
2139
1696
  }
2140
1697
 
2141
- export declare type PowerBIDelegatedScanProperties = PowerBIDelegatedScanPropertiesBase & ScanProperties;
2142
-
2143
- export declare type PowerBIDelegatedScanPropertiesAutoGenerated = PowerBIDelegatedScanPropertiesAutoGeneratedBase & PowerBIDelegatedScanProperties;
2144
-
2145
- export declare interface PowerBIDelegatedScanPropertiesAutoGeneratedBase {
2146
- }
2147
-
2148
- export declare interface PowerBIDelegatedScanPropertiesBase {
1698
+ export declare interface PowerBIDelegatedScanProperties extends ScanProperties {
2149
1699
  tenant?: string;
2150
1700
  authenticationType?: string;
2151
1701
  clientId?: string;
@@ -2154,54 +1704,42 @@ export declare interface PowerBIDelegatedScanPropertiesBase {
2154
1704
  includePersonalWorkspaces?: boolean;
2155
1705
  }
2156
1706
 
2157
- export declare type PowerBIMsiScan = PowerBIMsiScanBase & Scan;
2158
-
2159
- export declare interface PowerBIMsiScanBase {
2160
- properties?: PowerBIMsiScanPropertiesAutoGenerated;
1707
+ export declare interface PowerBIDelegatedScanPropertiesAutoGenerated extends PowerBIDelegatedScanProperties {
2161
1708
  }
2162
1709
 
2163
- export declare type PowerBIMsiScanProperties = PowerBIMsiScanPropertiesBase & ScanProperties;
2164
-
2165
- export declare type PowerBIMsiScanPropertiesAutoGenerated = PowerBIMsiScanPropertiesAutoGeneratedBase & PowerBIMsiScanProperties;
2166
-
2167
- export declare interface PowerBIMsiScanPropertiesAutoGeneratedBase {
1710
+ export declare interface PowerBIMsiScan extends ScanBase {
1711
+ properties?: PowerBIMsiScanPropertiesAutoGenerated;
1712
+ kind: "PowerBIMsi";
2168
1713
  }
2169
1714
 
2170
- export declare interface PowerBIMsiScanPropertiesBase {
1715
+ export declare interface PowerBIMsiScanProperties extends ScanProperties {
2171
1716
  includePersonalWorkspaces?: boolean;
2172
1717
  }
2173
1718
 
2174
- export declare type PowerBIProperties = PowerBIPropertiesBase & DataSourceProperties;
1719
+ export declare interface PowerBIMsiScanPropertiesAutoGenerated extends PowerBIMsiScanProperties {
1720
+ }
2175
1721
 
2176
- export declare interface PowerBIPropertiesBase {
1722
+ export declare interface PowerBIProperties extends DataSourceProperties {
2177
1723
  tenant?: string;
2178
1724
  }
2179
1725
 
2180
- export declare type PowerBIScanRuleset = PowerBIScanRulesetBase & ScanRuleset;
2181
-
2182
- export declare interface PowerBIScanRulesetBase {
1726
+ export declare interface PowerBIScanRuleset extends ScanRulesetBase {
2183
1727
  properties?: PowerBIScanRulesetPropertiesAutoGenerated;
1728
+ kind: "PowerBI";
2184
1729
  }
2185
1730
 
2186
- export declare type PowerBIScanRulesetProperties = PowerBIScanRulesetPropertiesBase & ScanRulesetProperties;
2187
-
2188
- export declare type PowerBIScanRulesetPropertiesAutoGenerated = PowerBIScanRulesetPropertiesAutoGeneratedBase & PowerBIScanRulesetProperties;
2189
-
2190
- export declare interface PowerBIScanRulesetPropertiesAutoGeneratedBase {
1731
+ export declare interface PowerBIScanRulesetProperties extends ScanRulesetProperties {
2191
1732
  }
2192
1733
 
2193
- export declare interface PowerBIScanRulesetPropertiesBase {
1734
+ export declare interface PowerBIScanRulesetPropertiesAutoGenerated extends PowerBIScanRulesetProperties {
2194
1735
  }
2195
1736
 
2196
- export declare type PowerBISystemScanRuleset = PowerBISystemScanRulesetBase & SystemScanRuleset;
2197
-
2198
- export declare interface PowerBISystemScanRulesetBase {
1737
+ export declare interface PowerBISystemScanRuleset extends SystemScanRulesetBase {
2199
1738
  properties?: PowerBISystemScanRulesetProperties;
1739
+ kind: "None";
2200
1740
  }
2201
1741
 
2202
- export declare type PowerBISystemScanRulesetProperties = PowerBISystemScanRulesetPropertiesBase & PowerBIScanRulesetProperties;
2203
-
2204
- export declare interface PowerBISystemScanRulesetPropertiesBase {
1742
+ export declare interface PowerBISystemScanRulesetProperties extends PowerBIScanRulesetProperties {
2205
1743
  }
2206
1744
 
2207
1745
  export declare interface ProxyResource {
@@ -2217,62 +1755,53 @@ export declare type PurviewScanningRestClient = Client & {
2217
1755
  };
2218
1756
 
2219
1757
  export declare interface RecurrenceSchedule {
2220
- /** Dictionary of <any> */
2221
- additionalProperties?: RecurrenceScheduleAdditionalPropertiesDictionary;
2222
- minutes?: number[];
2223
- hours?: number[];
2224
- weekDays?: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"[];
2225
- monthDays?: number[];
2226
- monthlyOccurrences?: RecurrenceScheduleOccurrence[];
1758
+ /** Dictionary of <AnyObject> */
1759
+ additionalProperties?: Record<string, Record<string, unknown>>;
1760
+ minutes?: Array<number>;
1761
+ hours?: Array<number>;
1762
+ weekDays?: Array<"Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday">;
1763
+ monthDays?: Array<number>;
1764
+ monthlyOccurrences?: Array<RecurrenceScheduleOccurrence>;
2227
1765
  }
2228
1766
 
2229
- export declare type RecurrenceScheduleAdditionalPropertiesDictionary = Record<string, any>;
2230
-
2231
1767
  export declare interface RecurrenceScheduleOccurrence {
2232
- /** Dictionary of <any> */
2233
- additionalProperties?: RecurrenceScheduleOccurrenceAdditionalPropertiesDictionary;
2234
- day?: DayOfWeek;
1768
+ /** Dictionary of <AnyObject> */
1769
+ additionalProperties?: Record<string, Record<string, unknown>>;
1770
+ day?: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday";
2235
1771
  occurrence?: number;
2236
1772
  }
2237
1773
 
2238
- export declare type RecurrenceScheduleOccurrenceAdditionalPropertiesDictionary = Record<string, any>;
2239
-
2240
- export declare type RegexClassificationRulePattern = RegexClassificationRulePatternBase & ClassificationRulePattern;
2241
-
2242
- export declare interface RegexClassificationRulePatternBase {
1774
+ export declare interface RegexClassificationRulePattern extends ClassificationRulePatternBase {
2243
1775
  pattern?: string;
1776
+ kind: "Regex";
2244
1777
  }
2245
1778
 
2246
1779
  export declare interface ResourceNameFilter {
2247
- excludePrefixes?: string[];
2248
- includePrefixes?: string[];
2249
- resources?: string[];
1780
+ excludePrefixes?: Array<string>;
1781
+ includePrefixes?: Array<string>;
1782
+ resources?: Array<string>;
2250
1783
  }
2251
1784
 
2252
1785
  export declare interface ResourceTypeFilter {
2253
1786
  scanRulesetName?: string;
2254
- scanRulesetType?: ScanRulesetType;
1787
+ scanRulesetType?: "Custom" | "System";
2255
1788
  resourceNameFilter?: ResourceTypeFilterResourceNameFilter;
2256
1789
  credential?: ResourceTypeFilterCredential;
2257
1790
  }
2258
1791
 
2259
- export declare type ResourceTypeFilterCredential = ResourceTypeFilterCredentialBase & CredentialReference;
2260
-
2261
- export declare interface ResourceTypeFilterCredentialBase {
1792
+ export declare interface ResourceTypeFilterCredential extends CredentialReference {
2262
1793
  }
2263
1794
 
2264
- export declare type ResourceTypeFilterResourceNameFilter = ResourceTypeFilterResourceNameFilterBase & ResourceNameFilter;
2265
-
2266
- export declare interface ResourceTypeFilterResourceNameFilterBase {
1795
+ export declare interface ResourceTypeFilterResourceNameFilter extends ResourceNameFilter {
2267
1796
  }
2268
1797
 
2269
1798
  export declare interface Routes {
2270
1799
  /** Resource for '/azureKeyVaults/\{keyVaultName\}' has methods for the following verbs: get, put, delete */
2271
- (path: "/azureKeyVaults/{keyVaultName}", keyVaultName: string): KeyVaultConnectionsDelete;
1800
+ (path: "/azureKeyVaults/{keyVaultName}", keyVaultName: string): KeyVaultConnectionsGet;
2272
1801
  /** Resource for '/azureKeyVaults' has methods for the following verbs: get */
2273
1802
  (path: "/azureKeyVaults"): KeyVaultConnectionsListAll;
2274
1803
  /** Resource for '/classificationrules/\{classificationRuleName\}' has methods for the following verbs: get, put, delete */
2275
- (path: "/classificationrules/{classificationRuleName}", classificationRuleName: string): ClassificationRulesDelete;
1804
+ (path: "/classificationrules/{classificationRuleName}", classificationRuleName: string): ClassificationRulesGet;
2276
1805
  /** Resource for '/classificationrules' has methods for the following verbs: get */
2277
1806
  (path: "/classificationrules"): ClassificationRulesListAll;
2278
1807
  /** Resource for '/classificationrules/\{classificationRuleName\}/versions' has methods for the following verbs: get */
@@ -2280,13 +1809,13 @@ export declare interface Routes {
2280
1809
  /** Resource for '/classificationrules/\{classificationRuleName\}/versions/\{classificationRuleVersion\}/:tag' has methods for the following verbs: post */
2281
1810
  (path: "/classificationrules/{classificationRuleName}/versions/{classificationRuleVersion}/:tag", classificationRuleName: string, classificationRuleVersion: string): ClassificationRulesTagClassificationVersion;
2282
1811
  /** Resource for '/datasources/\{dataSourceName\}' has methods for the following verbs: put, get, delete */
2283
- (path: "/datasources/{dataSourceName}", dataSourceName: string): DataSourcesDelete;
1812
+ (path: "/datasources/{dataSourceName}", dataSourceName: string): DataSourcesCreateOrUpdate;
2284
1813
  /** Resource for '/datasources' has methods for the following verbs: get */
2285
1814
  (path: "/datasources"): DataSourcesListAll;
2286
1815
  /** Resource for '/datasources/\{dataSourceName\}/scans/\{scanName\}/filters/custom' has methods for the following verbs: get, put */
2287
- (path: "/datasources/{dataSourceName}/scans/{scanName}/filters/custom", dataSourceName: string, scanName: string): FiltersCreateOrUpdate;
1816
+ (path: "/datasources/{dataSourceName}/scans/{scanName}/filters/custom", dataSourceName: string, scanName: string): FiltersGet;
2288
1817
  /** Resource for '/datasources/\{dataSourceName\}/scans/\{scanName\}' has methods for the following verbs: put, get, delete */
2289
- (path: "/datasources/{dataSourceName}/scans/{scanName}", dataSourceName: string, scanName: string): ScansDelete;
1818
+ (path: "/datasources/{dataSourceName}/scans/{scanName}", dataSourceName: string, scanName: string): ScansCreateOrUpdate;
2290
1819
  /** Resource for '/datasources/\{dataSourceName\}/scans' has methods for the following verbs: get */
2291
1820
  (path: "/datasources/{dataSourceName}/scans", dataSourceName: string): ScansListByDataSource;
2292
1821
  /** Resource for '/datasources/\{dataSourceName\}/scans/\{scanName\}/runs/\{runId\}' has methods for the following verbs: put */
@@ -2296,7 +1825,7 @@ export declare interface Routes {
2296
1825
  /** Resource for '/datasources/\{dataSourceName\}/scans/\{scanName\}/runs' has methods for the following verbs: get */
2297
1826
  (path: "/datasources/{dataSourceName}/scans/{scanName}/runs", dataSourceName: string, scanName: string): ScanResultListScanHistory;
2298
1827
  /** Resource for '/scanrulesets/\{scanRulesetName\}' has methods for the following verbs: get, put, delete */
2299
- (path: "/scanrulesets/{scanRulesetName}", scanRulesetName: string): ScanRulesetsDelete;
1828
+ (path: "/scanrulesets/{scanRulesetName}", scanRulesetName: string): ScanRulesetsGet;
2300
1829
  /** Resource for '/scanrulesets' has methods for the following verbs: get */
2301
1830
  (path: "/scanrulesets"): ScanRulesetsListAll;
2302
1831
  /** Resource for '/systemScanRulesets' has methods for the following verbs: get */
@@ -2310,246 +1839,188 @@ export declare interface Routes {
2310
1839
  /** Resource for '/systemScanRulesets/versions' has methods for the following verbs: get */
2311
1840
  (path: "/systemScanRulesets/versions"): SystemScanRulesetsListVersionsByDataSource;
2312
1841
  /** Resource for '/datasources/\{dataSourceName\}/scans/\{scanName\}/triggers/default' has methods for the following verbs: get, put, delete */
2313
- (path: "/datasources/{dataSourceName}/scans/{scanName}/triggers/default", dataSourceName: string, scanName: string): TriggersDeleteTrigger;
1842
+ (path: "/datasources/{dataSourceName}/scans/{scanName}/triggers/default", dataSourceName: string, scanName: string): TriggersGetTrigger;
2314
1843
  }
2315
1844
 
2316
- export declare type SapEccCredentialScan = SapEccCredentialScanBase & Scan;
2317
-
2318
- export declare interface SapEccCredentialScanBase {
1845
+ export declare interface SapEccCredentialScan extends ScanBase {
2319
1846
  properties?: SapEccCredentialScanPropertiesAutoGenerated;
1847
+ kind: "SapEccSapEccCredential";
2320
1848
  }
2321
1849
 
2322
- export declare type SapEccCredentialScanProperties = SapEccCredentialScanPropertiesBase & MitiScanProperties;
2323
-
2324
- export declare type SapEccCredentialScanPropertiesAutoGenerated = SapEccCredentialScanPropertiesAutoGeneratedBase & SapEccCredentialScanProperties;
2325
-
2326
- export declare interface SapEccCredentialScanPropertiesAutoGeneratedBase {
2327
- }
2328
-
2329
- export declare interface SapEccCredentialScanPropertiesBase {
1850
+ export declare interface SapEccCredentialScanProperties extends MitiScanProperties {
2330
1851
  clientId?: string;
2331
1852
  credential?: SapEccCredentialScanPropertiesCredential;
2332
1853
  jCoLibraryPath?: string;
2333
1854
  }
2334
1855
 
2335
- export declare type SapEccCredentialScanPropertiesCredential = SapEccCredentialScanPropertiesCredentialBase & CredentialReference;
2336
-
2337
- export declare interface SapEccCredentialScanPropertiesCredentialBase {
1856
+ export declare interface SapEccCredentialScanPropertiesAutoGenerated extends SapEccCredentialScanProperties {
2338
1857
  }
2339
1858
 
2340
- export declare type SapEccDataSource = SapEccDataSourceBase & DataSource;
1859
+ export declare interface SapEccCredentialScanPropertiesCredential extends CredentialReference {
1860
+ }
2341
1861
 
2342
- export declare interface SapEccDataSourceBase {
1862
+ export declare interface SapEccDataSource extends DataSourceBase {
2343
1863
  properties?: SapEccDataSourceProperties;
1864
+ kind: "SapEcc";
2344
1865
  }
2345
1866
 
2346
- export declare type SapEccDataSourceProperties = SapEccDataSourcePropertiesBase & SapEccProperties;
2347
-
2348
- export declare interface SapEccDataSourcePropertiesBase {
1867
+ export declare interface SapEccDataSourceProperties extends SapEccProperties {
2349
1868
  }
2350
1869
 
2351
- export declare type SapEccProperties = SapEccPropertiesBase & DataSourceProperties;
2352
-
2353
- export declare interface SapEccPropertiesBase {
1870
+ export declare interface SapEccProperties extends DataSourceProperties {
2354
1871
  applicationServer?: string;
2355
1872
  systemNumber?: string;
2356
1873
  }
2357
1874
 
2358
- export declare type SapEccScanRuleset = SapEccScanRulesetBase & ScanRuleset;
2359
-
2360
- export declare interface SapEccScanRulesetBase {
1875
+ export declare interface SapEccScanRuleset extends ScanRulesetBase {
2361
1876
  properties?: SapEccScanRulesetPropertiesAutoGenerated;
1877
+ kind: "SapEcc";
2362
1878
  }
2363
1879
 
2364
- export declare type SapEccScanRulesetProperties = SapEccScanRulesetPropertiesBase & ScanRulesetProperties;
2365
-
2366
- export declare type SapEccScanRulesetPropertiesAutoGenerated = SapEccScanRulesetPropertiesAutoGeneratedBase & SapEccScanRulesetProperties;
2367
-
2368
- export declare interface SapEccScanRulesetPropertiesAutoGeneratedBase {
1880
+ export declare interface SapEccScanRulesetProperties extends ScanRulesetProperties {
2369
1881
  }
2370
1882
 
2371
- export declare interface SapEccScanRulesetPropertiesBase {
1883
+ export declare interface SapEccScanRulesetPropertiesAutoGenerated extends SapEccScanRulesetProperties {
2372
1884
  }
2373
1885
 
2374
- export declare type SapEccSystemScanRuleset = SapEccSystemScanRulesetBase & SystemScanRuleset;
2375
-
2376
- export declare interface SapEccSystemScanRulesetBase {
1886
+ export declare interface SapEccSystemScanRuleset extends SystemScanRulesetBase {
2377
1887
  properties?: SapEccSystemScanRulesetProperties;
1888
+ kind: "None";
2378
1889
  }
2379
1890
 
2380
- export declare type SapEccSystemScanRulesetProperties = SapEccSystemScanRulesetPropertiesBase & SapEccScanRulesetProperties;
2381
-
2382
- export declare interface SapEccSystemScanRulesetPropertiesBase {
1891
+ export declare interface SapEccSystemScanRulesetProperties extends SapEccScanRulesetProperties {
2383
1892
  }
2384
1893
 
2385
- export declare type SapEccUserPassScan = SapEccUserPassScanBase & Scan;
2386
-
2387
- export declare interface SapEccUserPassScanBase {
1894
+ export declare interface SapEccUserPassScan extends ScanBase {
2388
1895
  properties?: SapEccUserPassScanPropertiesAutoGenerated;
1896
+ kind: "SapEccSapEccUserPass";
2389
1897
  }
2390
1898
 
2391
- export declare type SapEccUserPassScanProperties = SapEccUserPassScanPropertiesBase & MitiScanProperties;
2392
-
2393
- export declare type SapEccUserPassScanPropertiesAutoGenerated = SapEccUserPassScanPropertiesAutoGeneratedBase & SapEccUserPassScanProperties;
2394
-
2395
- export declare interface SapEccUserPassScanPropertiesAutoGeneratedBase {
2396
- }
2397
-
2398
- export declare interface SapEccUserPassScanPropertiesBase {
1899
+ export declare interface SapEccUserPassScanProperties extends MitiScanProperties {
2399
1900
  clientId?: string;
2400
1901
  username?: string;
2401
1902
  password?: string;
2402
1903
  jCoLibraryPath?: string;
2403
1904
  }
2404
1905
 
2405
- export declare type SapS4HanaDataSource = SapS4HanaDataSourceBase & DataSource;
1906
+ export declare interface SapEccUserPassScanPropertiesAutoGenerated extends SapEccUserPassScanProperties {
1907
+ }
2406
1908
 
2407
- export declare interface SapS4HanaDataSourceBase {
1909
+ export declare interface SapS4HanaDataSource extends DataSourceBase {
2408
1910
  properties?: SapS4HanaDataSourceProperties;
1911
+ kind: "SapS4Hana";
2409
1912
  }
2410
1913
 
2411
- export declare type SapS4HanaDataSourceProperties = SapS4HanaDataSourcePropertiesBase & SapS4HanaProperties;
2412
-
2413
- export declare interface SapS4HanaDataSourcePropertiesBase {
1914
+ export declare interface SapS4HanaDataSourceProperties extends SapS4HanaProperties {
2414
1915
  }
2415
1916
 
2416
- export declare type SapS4HanaProperties = SapS4HanaPropertiesBase & DataSourceProperties;
2417
-
2418
- export declare interface SapS4HanaPropertiesBase {
1917
+ export declare interface SapS4HanaProperties extends DataSourceProperties {
2419
1918
  applicationServer?: string;
2420
1919
  systemNumber?: string;
2421
1920
  }
2422
1921
 
2423
- export declare type SapS4HanaSapS4HanaCredentialScan = SapS4HanaSapS4HanaCredentialScanBase & Scan;
2424
-
2425
- export declare interface SapS4HanaSapS4HanaCredentialScanBase {
1922
+ export declare interface SapS4HanaSapS4HanaCredentialScan extends ScanBase {
2426
1923
  properties?: SapS4HanaSapS4HanaCredentialScanPropertiesAutoGenerated;
1924
+ kind: "SapS4HanaSapS4HanaCredential";
2427
1925
  }
2428
1926
 
2429
- export declare type SapS4HanaSapS4HanaCredentialScanProperties = SapS4HanaSapS4HanaCredentialScanPropertiesBase & MitiScanProperties;
2430
-
2431
- export declare type SapS4HanaSapS4HanaCredentialScanPropertiesAutoGenerated = SapS4HanaSapS4HanaCredentialScanPropertiesAutoGeneratedBase & SapS4HanaSapS4HanaCredentialScanProperties;
2432
-
2433
- export declare interface SapS4HanaSapS4HanaCredentialScanPropertiesAutoGeneratedBase {
2434
- }
2435
-
2436
- export declare interface SapS4HanaSapS4HanaCredentialScanPropertiesBase {
1927
+ export declare interface SapS4HanaSapS4HanaCredentialScanProperties extends MitiScanProperties {
2437
1928
  clientId?: string;
2438
1929
  credential?: SapS4HanaSapS4HanaCredentialScanPropertiesCredential;
2439
1930
  jCoLibraryPath?: string;
2440
1931
  }
2441
1932
 
2442
- export declare type SapS4HanaSapS4HanaCredentialScanPropertiesCredential = SapS4HanaSapS4HanaCredentialScanPropertiesCredentialBase & CredentialReference;
2443
-
2444
- export declare interface SapS4HanaSapS4HanaCredentialScanPropertiesCredentialBase {
1933
+ export declare interface SapS4HanaSapS4HanaCredentialScanPropertiesAutoGenerated extends SapS4HanaSapS4HanaCredentialScanProperties {
2445
1934
  }
2446
1935
 
2447
- export declare type SapS4HanaSapS4HanaUserPassScan = SapS4HanaSapS4HanaUserPassScanBase & Scan;
2448
-
2449
- export declare interface SapS4HanaSapS4HanaUserPassScanBase {
2450
- properties?: SapS4HanaSapS4HanaUserPassScanPropertiesAutoGenerated;
1936
+ export declare interface SapS4HanaSapS4HanaCredentialScanPropertiesCredential extends CredentialReference {
2451
1937
  }
2452
1938
 
2453
- export declare type SapS4HanaSapS4HanaUserPassScanProperties = SapS4HanaSapS4HanaUserPassScanPropertiesBase & MitiScanProperties;
2454
-
2455
- export declare type SapS4HanaSapS4HanaUserPassScanPropertiesAutoGenerated = SapS4HanaSapS4HanaUserPassScanPropertiesAutoGeneratedBase & SapS4HanaSapS4HanaUserPassScanProperties;
2456
-
2457
- export declare interface SapS4HanaSapS4HanaUserPassScanPropertiesAutoGeneratedBase {
1939
+ export declare interface SapS4HanaSapS4HanaUserPassScan extends ScanBase {
1940
+ properties?: SapS4HanaSapS4HanaUserPassScanPropertiesAutoGenerated;
1941
+ kind: "SapS4HanaSapS4HanaUserPass";
2458
1942
  }
2459
1943
 
2460
- export declare interface SapS4HanaSapS4HanaUserPassScanPropertiesBase {
1944
+ export declare interface SapS4HanaSapS4HanaUserPassScanProperties extends MitiScanProperties {
2461
1945
  clientId?: string;
2462
1946
  username?: string;
2463
1947
  password?: string;
2464
1948
  jCoLibraryPath?: string;
2465
1949
  }
2466
1950
 
2467
- export declare type SapS4HanaScanRuleset = SapS4HanaScanRulesetBase & ScanRuleset;
1951
+ export declare interface SapS4HanaSapS4HanaUserPassScanPropertiesAutoGenerated extends SapS4HanaSapS4HanaUserPassScanProperties {
1952
+ }
2468
1953
 
2469
- export declare interface SapS4HanaScanRulesetBase {
1954
+ export declare interface SapS4HanaScanRuleset extends ScanRulesetBase {
2470
1955
  properties?: SapS4HanaScanRulesetPropertiesAutoGenerated;
1956
+ kind: "SapS4Hana";
2471
1957
  }
2472
1958
 
2473
- export declare type SapS4HanaScanRulesetProperties = SapS4HanaScanRulesetPropertiesBase & ScanRulesetProperties;
2474
-
2475
- export declare type SapS4HanaScanRulesetPropertiesAutoGenerated = SapS4HanaScanRulesetPropertiesAutoGeneratedBase & SapS4HanaScanRulesetProperties;
2476
-
2477
- export declare interface SapS4HanaScanRulesetPropertiesAutoGeneratedBase {
1959
+ export declare interface SapS4HanaScanRulesetProperties extends ScanRulesetProperties {
2478
1960
  }
2479
1961
 
2480
- export declare interface SapS4HanaScanRulesetPropertiesBase {
1962
+ export declare interface SapS4HanaScanRulesetPropertiesAutoGenerated extends SapS4HanaScanRulesetProperties {
2481
1963
  }
2482
1964
 
2483
- export declare type SapS4HanaSystemScanRuleset = SapS4HanaSystemScanRulesetBase & SystemScanRuleset;
2484
-
2485
- export declare interface SapS4HanaSystemScanRulesetBase {
1965
+ export declare interface SapS4HanaSystemScanRuleset extends SystemScanRulesetBase {
2486
1966
  properties?: SapS4HanaSystemScanRulesetProperties;
1967
+ kind: "None";
2487
1968
  }
2488
1969
 
2489
- export declare type SapS4HanaSystemScanRulesetProperties = SapS4HanaSystemScanRulesetPropertiesBase & SapS4HanaScanRulesetProperties;
2490
-
2491
- export declare interface SapS4HanaSystemScanRulesetPropertiesBase {
1970
+ export declare interface SapS4HanaSystemScanRulesetProperties extends SapS4HanaScanRulesetProperties {
2492
1971
  }
2493
1972
 
2494
- export declare type Scan = ScanBase & ProxyResource;
2495
-
2496
- export declare type ScanAuthorizationType = "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataTeradataUserPass" | "TeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi";
1973
+ export declare type Scan = ScanBase | AzureSubscriptionCredentialScan | AzureSubscriptionMsiScan | AzureResourceGroupCredentialScan | AzureResourceGroupMsiScan | AzureSynapseWorkspaceCredentialScan | AzureSynapseWorkspaceMsiScan | AzureSynapseCredentialScan | AzureSynapseMsiScan | AdlsGen1CredentialScan | AdlsGen1MsiScan | AdlsGen2CredentialScan | AdlsGen2MsiScan | AmazonAccountCredentialScan | AmazonS3CredentialScan | AmazonS3RoleARNScan | AmazonSqlCredentialScan | AzureCosmosDbCredentialScan | AzureDataExplorerCredentialScan | AzureDataExplorerMsiScan | AzureFileServiceCredentialScan | AzureSqlDatabaseCredentialScan | AzureSqlDatabaseMsiScan | AmazonPostgreSqlCredentialScan | AzurePostgreSqlCredentialScan | SqlServerDatabaseCredentialScan | AzureSqlDatabaseManagedInstanceCredentialScan | AzureSqlDatabaseManagedInstanceMsiScan | AzureSqlDataWarehouseCredentialScan | AzureSqlDataWarehouseMsiScan | AzureMySqlCredentialScan | AzureStorageCredentialScan | AzureStorageMsiScan | TeradataCredentialScan | TeradataUserPassScan | TeradataUserPassScanAutoGenerated | OracleCredentialScan | OracleUserPassScan | SapS4HanaSapS4HanaCredentialScan | SapS4HanaSapS4HanaUserPassScan | SapEccCredentialScan | SapEccUserPassScan | PowerBIDelegatedScan | PowerBIMsiScan;
2497
1974
 
2498
- export declare interface ScanBase {
2499
- kind: ScanAuthorizationType;
2500
- scanResults?: ScanResult[];
1975
+ export declare interface ScanBase extends ProxyResource {
1976
+ scanResults?: Array<ScanResult>;
1977
+ kind: "Scan" | "AzureSubscriptionCredential" | "AzureSubscriptionMsi" | "AzureResourceGroupCredential" | "AzureResourceGroupMsi" | "AzureSynapseWorkspaceCredential" | "AzureSynapseWorkspaceMsi" | "AzureSynapseCredential" | "AzureSynapseMsi" | "AdlsGen1Credential" | "AdlsGen1Msi" | "AdlsGen2Credential" | "AdlsGen2Msi" | "AmazonAccountCredential" | "AmazonS3Credential" | "AmazonS3RoleARN" | "AmazonSqlCredential" | "AzureCosmosDbCredential" | "AzureDataExplorerCredential" | "AzureDataExplorerMsi" | "AzureFileServiceCredential" | "AzureSqlDatabaseCredential" | "AzureSqlDatabaseMsi" | "AmazonPostgreSqlCredential" | "AzurePostgreSqlCredential" | "SqlServerDatabaseCredential" | "AzureSqlDatabaseManagedInstanceCredential" | "AzureSqlDatabaseManagedInstanceMsi" | "AzureSqlDataWarehouseCredential" | "AzureSqlDataWarehouseMsi" | "AzureMySqlCredential" | "AzureStorageCredential" | "AzureStorageMsi" | "TeradataTeradataCredential" | "TeradataUserPass" | "TeradataTeradataUserPass" | "OracleOracleCredential" | "OracleOracleUserPass" | "SapS4HanaSapS4HanaCredential" | "SapS4HanaSapS4HanaUserPass" | "SapEccSapEccCredential" | "SapEccSapEccUserPass" | "PowerBIDelegated" | "PowerBIMsi";
2501
1978
  }
2502
1979
 
2503
1980
  export declare interface ScanDiagnostics {
2504
- notifications?: Notification[];
1981
+ notifications?: Array<Notification>;
2505
1982
  /** Dictionary of <integer> */
2506
- exceptionCountMap?: ScanDiagnosticsExceptionCountMapDictionary;
1983
+ exceptionCountMap?: Record<string, number>;
2507
1984
  }
2508
1985
 
2509
- export declare type ScanDiagnosticsExceptionCountMapDictionary = Record<string, number>;
2510
-
2511
1986
  export declare interface ScanHistoryList {
2512
- value?: ScanResult[];
1987
+ value?: Array<ScanResult>;
2513
1988
  nextLink?: string;
2514
1989
  count?: number;
2515
1990
  }
2516
1991
 
2517
- export declare type ScanLevelType = "Full" | "Incremental";
2518
-
2519
1992
  export declare interface ScanList {
2520
- value?: Scan[];
1993
+ value?: Array<Scan>;
2521
1994
  nextLink?: string;
2522
1995
  count?: number;
2523
1996
  }
2524
1997
 
2525
1998
  export declare interface ScanningRule {
2526
- fileExtensions?: "AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT"[];
2527
- customFileExtensions?: CustomFileExtension[];
1999
+ fileExtensions?: Array<"AVRO" | "ORC" | "PARQUET" | "JSON" | "TXT" | "XML" | "Documents" | "CSV" | "PSV" | "SSV" | "TSV" | "GZ" | "DOC" | "DOCM" | "DOCX" | "DOT" | "ODP" | "ODS" | "ODT" | "PDF" | "POT" | "PPS" | "PPSX" | "PPT" | "PPTM" | "PPTX" | "XLC" | "XLS" | "XLSB" | "XLSM" | "XLSX" | "XLT">;
2000
+ customFileExtensions?: Array<CustomFileExtension>;
2528
2001
  }
2529
2002
 
2530
- export declare type ScanningRuleScanRulesetProperties = ScanningRuleScanRulesetPropertiesBase & ScanRulesetProperties;
2531
-
2532
- export declare interface ScanningRuleScanRulesetPropertiesBase {
2003
+ export declare interface ScanningRuleScanRulesetProperties extends ScanRulesetProperties {
2533
2004
  scanningRule?: ScanningRuleScanRulesetPropertiesScanningRule;
2534
2005
  }
2535
2006
 
2536
- export declare type ScanningRuleScanRulesetPropertiesScanningRule = ScanningRuleScanRulesetPropertiesScanningRuleBase & ScanningRule;
2537
-
2538
- export declare interface ScanningRuleScanRulesetPropertiesScanningRuleBase {
2007
+ export declare interface ScanningRuleScanRulesetPropertiesScanningRule extends ScanningRule {
2539
2008
  }
2540
2009
 
2541
2010
  export declare interface ScanProperties {
2542
2011
  scanRulesetName?: string;
2543
- scanRulesetType?: ScanRulesetType;
2012
+ scanRulesetType?: "Custom" | "System";
2013
+ collection?: ScanPropertiesCollection;
2544
2014
  workers?: number;
2545
2015
  createdAt?: Date;
2546
2016
  lastModifiedAt?: Date;
2547
2017
  connectedVia?: ScanPropertiesConnectedVia;
2548
2018
  }
2549
2019
 
2550
- export declare type ScanPropertiesConnectedVia = ScanPropertiesConnectedViaBase & ConnectedVia;
2020
+ export declare interface ScanPropertiesCollection extends CollectionReference {
2021
+ }
2551
2022
 
2552
- export declare interface ScanPropertiesConnectedViaBase {
2023
+ export declare interface ScanPropertiesConnectedVia extends ConnectedVia {
2553
2024
  }
2554
2025
 
2555
2026
  export declare interface ScanResult {
@@ -2565,12 +2036,12 @@ export declare interface ScanResult {
2565
2036
  pipelineStartTime?: Date;
2566
2037
  endTime?: Date;
2567
2038
  scanRulesetVersion?: number;
2568
- scanRulesetType?: ScanRulesetType;
2569
- scanLevelType?: ScanLevelType;
2039
+ scanRulesetType?: "Custom" | "System";
2040
+ scanLevelType?: "Full" | "Incremental";
2570
2041
  errorMessage?: string;
2571
2042
  error?: ScanResultError;
2572
2043
  runType?: string;
2573
- dataSourceType?: DataSourceType;
2044
+ dataSourceType?: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI";
2574
2045
  }
2575
2046
 
2576
2047
  export declare interface ScanResultCancelScan {
@@ -2592,14 +2063,10 @@ export declare interface ScanResultCancelScandefaultResponse extends HttpRespons
2592
2063
 
2593
2064
  export declare type ScanResultCancelScanParameters = RequestParameters;
2594
2065
 
2595
- export declare type ScanResultDiagnostics = ScanResultDiagnosticsBase & ScanDiagnostics;
2596
-
2597
- export declare interface ScanResultDiagnosticsBase {
2066
+ export declare interface ScanResultDiagnostics extends ScanDiagnostics {
2598
2067
  }
2599
2068
 
2600
- export declare type ScanResultError = ScanResultErrorBase & ErrorModel;
2601
-
2602
- export declare interface ScanResultErrorBase {
2069
+ export declare interface ScanResultError extends ErrorModel {
2603
2070
  }
2604
2071
 
2605
2072
  export declare interface ScanResultListScanHistory {
@@ -2638,24 +2105,24 @@ export declare interface ScanResultRunScandefaultResponse extends HttpResponse {
2638
2105
  body: ErrorResponseModel;
2639
2106
  }
2640
2107
 
2641
- export declare type ScanResultRunScanParameters = RequestParameters & ScanResultRunScanQueryParam;
2108
+ export declare type ScanResultRunScanParameters = ScanResultRunScanQueryParam & RequestParameters;
2642
2109
 
2643
2110
  export declare interface ScanResultRunScanQueryParam {
2644
2111
  queryParameters?: ScanResultRunScanQueryParamProperties;
2645
2112
  }
2646
2113
 
2647
2114
  export declare interface ScanResultRunScanQueryParamProperties {
2648
- scanLevel?: ScanLevelType;
2115
+ scanLevel?: "Full" | "Incremental";
2649
2116
  }
2650
2117
 
2651
- export declare type ScanRuleset = ScanRulesetBase & VersionedScanRuleset;
2118
+ export declare type ScanRuleset = ScanRulesetBase | AzureSubscriptionScanRuleset | AzureResourceGroupScanRuleset | AzureSynapseWorkspaceScanRuleset | AzureSynapseScanRuleset | AdlsGen1ScanRuleset | AdlsGen2ScanRuleset | AmazonAccountScanRuleset | AmazonS3ScanRuleset | AmazonSqlScanRuleset | AzureCosmosDbScanRuleset | AzureDataExplorerScanRuleset | AzureFileServiceScanRuleset | AzureSqlDatabaseScanRuleset | AmazonPostgreSqlScanRuleset | AzurePostgreSqlScanRuleset | SqlServerDatabaseScanRuleset | AzureSqlDatabaseManagedInstanceScanRuleset | AzureSqlDataWarehouseScanRuleset | AzureMySqlScanRuleset | AzureStorageScanRuleset | TeradataScanRuleset | OracleScanRuleset | SapS4HanaScanRuleset | SapEccScanRuleset | PowerBIScanRuleset;
2652
2119
 
2653
- export declare interface ScanRulesetBase {
2654
- kind: DataSourceType;
2120
+ export declare interface ScanRulesetBase extends VersionedScanRuleset {
2121
+ kind: "ScanRuleset" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI";
2655
2122
  }
2656
2123
 
2657
2124
  export declare interface ScanRulesetList {
2658
- value?: ScanRuleset[];
2125
+ value?: Array<ScanRuleset>;
2659
2126
  nextLink?: string;
2660
2127
  count?: number;
2661
2128
  }
@@ -2663,8 +2130,8 @@ export declare interface ScanRulesetList {
2663
2130
  export declare interface ScanRulesetProperties {
2664
2131
  createdAt?: Date;
2665
2132
  description?: string;
2666
- excludedSystemClassifications?: string[];
2667
- includedCustomClassificationRuleNames?: string[];
2133
+ excludedSystemClassifications?: Array<string>;
2134
+ includedCustomClassificationRuleNames?: Array<string>;
2668
2135
  lastModifiedAt?: Date;
2669
2136
  }
2670
2137
 
@@ -2690,16 +2157,7 @@ export declare interface ScanRulesetsCreateOrUpdatedefaultResponse extends HttpR
2690
2157
  body: ErrorResponseModel;
2691
2158
  }
2692
2159
 
2693
- export declare type ScanRulesetsCreateOrUpdateParameters = RequestParameters & ScanRulesetsCreateOrUpdateBodyParam;
2694
-
2695
- export declare interface ScanRulesetsDelete {
2696
- /** Get a scan ruleset */
2697
- get(options?: ScanRulesetsGetParameters): Promise<ScanRulesetsGet200Response | ScanRulesetsGetdefaultResponse>;
2698
- /** Creates or Updates a scan ruleset */
2699
- put(options?: ScanRulesetsCreateOrUpdateParameters): Promise<ScanRulesetsCreateOrUpdate200Response | ScanRulesetsCreateOrUpdate201Response | ScanRulesetsCreateOrUpdatedefaultResponse>;
2700
- /** Deletes a scan ruleset */
2701
- delete(options?: ScanRulesetsDeleteParameters): Promise<ScanRulesetsDelete200Response | ScanRulesetsDelete204Response | ScanRulesetsDeletedefaultResponse>;
2702
- }
2160
+ export declare type ScanRulesetsCreateOrUpdateParameters = ScanRulesetsCreateOrUpdateBodyParam & RequestParameters;
2703
2161
 
2704
2162
  /** Deletes a scan ruleset */
2705
2163
  export declare interface ScanRulesetsDelete200Response extends HttpResponse {
@@ -2710,6 +2168,7 @@ export declare interface ScanRulesetsDelete200Response extends HttpResponse {
2710
2168
  /** Deletes a scan ruleset */
2711
2169
  export declare interface ScanRulesetsDelete204Response extends HttpResponse {
2712
2170
  status: "204";
2171
+ body: Record<string, unknown>;
2713
2172
  }
2714
2173
 
2715
2174
  /** Deletes a scan ruleset */
@@ -2720,6 +2179,15 @@ export declare interface ScanRulesetsDeletedefaultResponse extends HttpResponse
2720
2179
 
2721
2180
  export declare type ScanRulesetsDeleteParameters = RequestParameters;
2722
2181
 
2182
+ export declare interface ScanRulesetsGet {
2183
+ /** Get a scan ruleset */
2184
+ get(options?: ScanRulesetsGetParameters): Promise<ScanRulesetsGet200Response | ScanRulesetsGetdefaultResponse>;
2185
+ /** Creates or Updates a scan ruleset */
2186
+ put(options?: ScanRulesetsCreateOrUpdateParameters): Promise<ScanRulesetsCreateOrUpdate200Response | ScanRulesetsCreateOrUpdate201Response | ScanRulesetsCreateOrUpdatedefaultResponse>;
2187
+ /** Deletes a scan ruleset */
2188
+ delete(options?: ScanRulesetsDeleteParameters): Promise<ScanRulesetsDelete200Response | ScanRulesetsDelete204Response | ScanRulesetsDeletedefaultResponse>;
2189
+ }
2190
+
2723
2191
  /** Get a scan ruleset */
2724
2192
  export declare interface ScanRulesetsGet200Response extends HttpResponse {
2725
2193
  status: "200";
@@ -2753,9 +2221,14 @@ export declare interface ScanRulesetsListAlldefaultResponse extends HttpResponse
2753
2221
 
2754
2222
  export declare type ScanRulesetsListAllParameters = RequestParameters;
2755
2223
 
2756
- export declare type ScanRulesetStatus = "Enabled" | "Disabled";
2757
-
2758
- export declare type ScanRulesetType = "Custom" | "System";
2224
+ export declare interface ScansCreateOrUpdate {
2225
+ /** Creates an instance of a scan */
2226
+ put(options: ScansCreateOrUpdateParameters): Promise<ScansCreateOrUpdate200Response | ScansCreateOrUpdate201Response | ScansCreateOrUpdatedefaultResponse>;
2227
+ /** Gets a scan information */
2228
+ get(options?: ScansGetParameters): Promise<ScansGet200Response | ScansGetdefaultResponse>;
2229
+ /** Deletes the scan associated with the data source */
2230
+ delete(options?: ScansDeleteParameters): Promise<ScansDelete200Response | ScansDelete204Response | ScansDeletedefaultResponse>;
2231
+ }
2759
2232
 
2760
2233
  /** Creates an instance of a scan */
2761
2234
  export declare interface ScansCreateOrUpdate200Response extends HttpResponse {
@@ -2779,16 +2252,7 @@ export declare interface ScansCreateOrUpdatedefaultResponse extends HttpResponse
2779
2252
  body: ErrorResponseModel;
2780
2253
  }
2781
2254
 
2782
- export declare type ScansCreateOrUpdateParameters = RequestParameters & ScansCreateOrUpdateBodyParam;
2783
-
2784
- export declare interface ScansDelete {
2785
- /** Creates an instance of a scan */
2786
- put(options: ScansCreateOrUpdateParameters): Promise<ScansCreateOrUpdate200Response | ScansCreateOrUpdate201Response | ScansCreateOrUpdatedefaultResponse>;
2787
- /** Gets a scan information */
2788
- get(options?: ScansGetParameters): Promise<ScansGet200Response | ScansGetdefaultResponse>;
2789
- /** Deletes the scan associated with the data source */
2790
- delete(options?: ScansDeleteParameters): Promise<ScansDelete200Response | ScansDelete204Response | ScansDeletedefaultResponse>;
2791
- }
2255
+ export declare type ScansCreateOrUpdateParameters = ScansCreateOrUpdateBodyParam & RequestParameters;
2792
2256
 
2793
2257
  /** Deletes the scan associated with the data source */
2794
2258
  export declare interface ScansDelete200Response extends HttpResponse {
@@ -2799,6 +2263,7 @@ export declare interface ScansDelete200Response extends HttpResponse {
2799
2263
  /** Deletes the scan associated with the data source */
2800
2264
  export declare interface ScansDelete204Response extends HttpResponse {
2801
2265
  status: "204";
2266
+ body: Record<string, unknown>;
2802
2267
  }
2803
2268
 
2804
2269
  /** Deletes the scan associated with the data source */
@@ -2842,94 +2307,73 @@ export declare interface ScansListByDataSourcedefaultResponse extends HttpRespon
2842
2307
 
2843
2308
  export declare type ScansListByDataSourceParameters = RequestParameters;
2844
2309
 
2845
- export declare type SqlServerDatabaseCredentialScan = SqlServerDatabaseCredentialScanBase & Scan;
2846
-
2847
- export declare interface SqlServerDatabaseCredentialScanBase {
2310
+ export declare interface SqlServerDatabaseCredentialScan extends ScanBase {
2848
2311
  properties?: SqlServerDatabaseCredentialScanPropertiesAutoGenerated;
2312
+ kind: "SqlServerDatabaseCredential";
2849
2313
  }
2850
2314
 
2851
- export declare type SqlServerDatabaseCredentialScanProperties = SqlServerDatabaseCredentialScanPropertiesBase & AzureSqlCredentialScanProperties;
2852
-
2853
- export declare type SqlServerDatabaseCredentialScanPropertiesAutoGenerated = SqlServerDatabaseCredentialScanPropertiesAutoGeneratedBase & SqlServerDatabaseCredentialScanProperties;
2854
-
2855
- export declare interface SqlServerDatabaseCredentialScanPropertiesAutoGeneratedBase {
2315
+ export declare interface SqlServerDatabaseCredentialScanProperties extends AzureSqlCredentialScanProperties {
2856
2316
  }
2857
2317
 
2858
- export declare interface SqlServerDatabaseCredentialScanPropertiesBase {
2318
+ export declare interface SqlServerDatabaseCredentialScanPropertiesAutoGenerated extends SqlServerDatabaseCredentialScanProperties {
2859
2319
  }
2860
2320
 
2861
- export declare type SqlServerDatabaseDataSource = SqlServerDatabaseDataSourceBase & DataSource;
2862
-
2863
- export declare interface SqlServerDatabaseDataSourceBase {
2321
+ export declare interface SqlServerDatabaseDataSource extends DataSourceBase {
2864
2322
  properties?: SqlServerDatabaseDataSourceProperties;
2323
+ kind: "SqlServerDatabase";
2865
2324
  }
2866
2325
 
2867
- export declare type SqlServerDatabaseDataSourceProperties = SqlServerDatabaseDataSourcePropertiesBase & SqlServerDatabaseProperties;
2868
-
2869
- export declare interface SqlServerDatabaseDataSourcePropertiesBase {
2326
+ export declare interface SqlServerDatabaseDataSourceProperties extends SqlServerDatabaseProperties {
2870
2327
  }
2871
2328
 
2872
- export declare type SqlServerDatabaseProperties = SqlServerDatabasePropertiesBase & AzureDataSourceProperties;
2873
-
2874
- export declare interface SqlServerDatabasePropertiesBase {
2329
+ export declare interface SqlServerDatabaseProperties extends AzureDataSourceProperties {
2875
2330
  serverEndpoint?: string;
2876
2331
  }
2877
2332
 
2878
- export declare type SqlServerDatabaseScanRuleset = SqlServerDatabaseScanRulesetBase & ScanRuleset;
2879
-
2880
- export declare interface SqlServerDatabaseScanRulesetBase {
2333
+ export declare interface SqlServerDatabaseScanRuleset extends ScanRulesetBase {
2881
2334
  properties?: SqlServerDatabaseScanRulesetPropertiesAutoGenerated;
2335
+ kind: "SqlServerDatabase";
2882
2336
  }
2883
2337
 
2884
- export declare type SqlServerDatabaseScanRulesetProperties = SqlServerDatabaseScanRulesetPropertiesBase & ScanRulesetProperties;
2885
-
2886
- export declare type SqlServerDatabaseScanRulesetPropertiesAutoGenerated = SqlServerDatabaseScanRulesetPropertiesAutoGeneratedBase & SqlServerDatabaseScanRulesetProperties;
2887
-
2888
- export declare interface SqlServerDatabaseScanRulesetPropertiesAutoGeneratedBase {
2338
+ export declare interface SqlServerDatabaseScanRulesetProperties extends ScanRulesetProperties {
2889
2339
  }
2890
2340
 
2891
- export declare interface SqlServerDatabaseScanRulesetPropertiesBase {
2341
+ export declare interface SqlServerDatabaseScanRulesetPropertiesAutoGenerated extends SqlServerDatabaseScanRulesetProperties {
2892
2342
  }
2893
2343
 
2894
- export declare type SqlServerDatabaseSystemScanRuleset = SqlServerDatabaseSystemScanRulesetBase & SystemScanRuleset;
2895
-
2896
- export declare interface SqlServerDatabaseSystemScanRulesetBase {
2344
+ export declare interface SqlServerDatabaseSystemScanRuleset extends SystemScanRulesetBase {
2897
2345
  properties?: SqlServerDatabaseSystemScanRulesetProperties;
2346
+ kind: "None";
2898
2347
  }
2899
2348
 
2900
- export declare type SqlServerDatabaseSystemScanRulesetProperties = SqlServerDatabaseSystemScanRulesetPropertiesBase & SqlServerDatabaseScanRulesetProperties;
2901
-
2902
- export declare interface SqlServerDatabaseSystemScanRulesetPropertiesBase {
2349
+ export declare interface SqlServerDatabaseSystemScanRulesetProperties extends SqlServerDatabaseScanRulesetProperties {
2903
2350
  }
2904
2351
 
2905
- export declare type SystemClassificationRule = SystemClassificationRuleBase & ClassificationRule;
2906
-
2907
- export declare interface SystemClassificationRuleBase {
2352
+ export declare interface SystemClassificationRule extends ClassificationRuleBase {
2908
2353
  properties?: SystemClassificationRulePropertiesAutoGenerated;
2354
+ kind: "System";
2909
2355
  }
2910
2356
 
2911
2357
  export declare interface SystemClassificationRuleProperties {
2912
2358
  description?: string;
2913
2359
  version?: number;
2914
2360
  classificationName?: string;
2915
- ruleStatus?: ClassificationRuleStatus;
2361
+ ruleStatus?: "Enabled" | "Disabled";
2916
2362
  createdAt?: Date;
2917
2363
  lastModifiedAt?: Date;
2918
2364
  }
2919
2365
 
2920
- export declare type SystemClassificationRulePropertiesAutoGenerated = SystemClassificationRulePropertiesAutoGeneratedBase & SystemClassificationRuleProperties;
2921
-
2922
- export declare interface SystemClassificationRulePropertiesAutoGeneratedBase {
2366
+ export declare interface SystemClassificationRulePropertiesAutoGenerated extends SystemClassificationRuleProperties {
2923
2367
  }
2924
2368
 
2925
- export declare type SystemScanRuleset = SystemScanRulesetBase & VersionedScanRuleset;
2369
+ export declare type SystemScanRuleset = SystemScanRulesetBase | AzureSubscriptionSystemScanRuleset | AzureResourceGroupSystemScanRuleset | AzureSynapseWorkspaceSystemScanRuleset | AzureSynapseSystemScanRuleset | AdlsGen1SystemScanRuleset | AdlsGen2SystemScanRuleset | AmazonAccountSystemScanRuleset | AmazonS3SystemScanRuleset | AmazonSqlSystemScanRuleset | AzureCosmosDbSystemScanRuleset | AzureDataExplorerSystemScanRuleset | AzureFileServiceSystemScanRuleset | AzureSqlDatabaseSystemScanRuleset | AmazonPostgreSqlSystemScanRuleset | AzurePostgreSqlSystemScanRuleset | SqlServerDatabaseSystemScanRuleset | AzureSqlDatabaseManagedInstanceSystemScanRuleset | AzureSqlDataWarehouseSystemScanRuleset | AzureMySqlSystemScanRuleset | AzureStorageSystemScanRuleset | TeradataSystemScanRuleset | OracleSystemScanRuleset | SapS4HanaSystemScanRuleset | SapEccSystemScanRuleset | PowerBISystemScanRuleset;
2926
2370
 
2927
- export declare interface SystemScanRulesetBase {
2928
- kind: DataSourceType;
2371
+ export declare interface SystemScanRulesetBase extends VersionedScanRuleset {
2372
+ kind: "SystemScanRuleset" | "None";
2929
2373
  }
2930
2374
 
2931
2375
  export declare interface SystemScanRulesetList {
2932
- value?: SystemScanRuleset[];
2376
+ value?: Array<SystemScanRuleset>;
2933
2377
  nextLink?: string;
2934
2378
  count?: number;
2935
2379
  }
@@ -2962,14 +2406,14 @@ export declare interface SystemScanRulesetsGetByVersiondefaultResponse extends H
2962
2406
  body: ErrorResponseModel;
2963
2407
  }
2964
2408
 
2965
- export declare type SystemScanRulesetsGetByVersionParameters = RequestParameters & SystemScanRulesetsGetByVersionQueryParam;
2409
+ export declare type SystemScanRulesetsGetByVersionParameters = SystemScanRulesetsGetByVersionQueryParam & RequestParameters;
2966
2410
 
2967
2411
  export declare interface SystemScanRulesetsGetByVersionQueryParam {
2968
2412
  queryParameters?: SystemScanRulesetsGetByVersionQueryParamProperties;
2969
2413
  }
2970
2414
 
2971
2415
  export declare interface SystemScanRulesetsGetByVersionQueryParamProperties {
2972
- dataSourceType?: DataSourceType;
2416
+ dataSourceType?: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI";
2973
2417
  }
2974
2418
 
2975
2419
  /** Get a system scan ruleset for a data source */
@@ -2995,14 +2439,14 @@ export declare interface SystemScanRulesetsGetLatestdefaultResponse extends Http
2995
2439
  body: ErrorResponseModel;
2996
2440
  }
2997
2441
 
2998
- export declare type SystemScanRulesetsGetLatestParameters = RequestParameters & SystemScanRulesetsGetLatestQueryParam;
2442
+ export declare type SystemScanRulesetsGetLatestParameters = SystemScanRulesetsGetLatestQueryParam & RequestParameters;
2999
2443
 
3000
2444
  export declare interface SystemScanRulesetsGetLatestQueryParam {
3001
2445
  queryParameters?: SystemScanRulesetsGetLatestQueryParamProperties;
3002
2446
  }
3003
2447
 
3004
2448
  export declare interface SystemScanRulesetsGetLatestQueryParamProperties {
3005
- dataSourceType?: DataSourceType;
2449
+ dataSourceType?: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI";
3006
2450
  }
3007
2451
 
3008
2452
  export declare type SystemScanRulesetsGetParameters = RequestParameters;
@@ -3043,152 +2487,114 @@ export declare interface SystemScanRulesetsListVersionsByDataSourcedefaultRespon
3043
2487
  body: ErrorResponseModel;
3044
2488
  }
3045
2489
 
3046
- export declare type SystemScanRulesetsListVersionsByDataSourceParameters = RequestParameters & SystemScanRulesetsListVersionsByDataSourceQueryParam;
2490
+ export declare type SystemScanRulesetsListVersionsByDataSourceParameters = SystemScanRulesetsListVersionsByDataSourceQueryParam & RequestParameters;
3047
2491
 
3048
2492
  export declare interface SystemScanRulesetsListVersionsByDataSourceQueryParam {
3049
2493
  queryParameters?: SystemScanRulesetsListVersionsByDataSourceQueryParamProperties;
3050
2494
  }
3051
2495
 
3052
2496
  export declare interface SystemScanRulesetsListVersionsByDataSourceQueryParamProperties {
3053
- dataSourceType?: DataSourceType;
2497
+ dataSourceType?: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI";
3054
2498
  }
3055
2499
 
3056
- export declare type TeradataCredentialScan = TeradataCredentialScanBase & Scan;
3057
-
3058
- export declare interface TeradataCredentialScanBase {
2500
+ export declare interface TeradataCredentialScan extends ScanBase {
3059
2501
  properties?: TeradataCredentialScanPropertiesAutoGenerated;
2502
+ kind: "TeradataTeradataCredential";
3060
2503
  }
3061
2504
 
3062
- export declare type TeradataCredentialScanProperties = TeradataCredentialScanPropertiesBase & MitiScanProperties;
3063
-
3064
- export declare type TeradataCredentialScanPropertiesAutoGenerated = TeradataCredentialScanPropertiesAutoGeneratedBase & TeradataCredentialScanProperties;
3065
-
3066
- export declare interface TeradataCredentialScanPropertiesAutoGeneratedBase {
3067
- }
3068
-
3069
- export declare interface TeradataCredentialScanPropertiesBase {
2505
+ export declare interface TeradataCredentialScanProperties extends MitiScanProperties {
3070
2506
  credential?: TeradataCredentialScanPropertiesCredential;
3071
2507
  schema?: string;
3072
2508
  driverLocation?: string;
3073
2509
  }
3074
2510
 
3075
- export declare type TeradataCredentialScanPropertiesCredential = TeradataCredentialScanPropertiesCredentialBase & CredentialReference;
3076
-
3077
- export declare interface TeradataCredentialScanPropertiesCredentialBase {
2511
+ export declare interface TeradataCredentialScanPropertiesAutoGenerated extends TeradataCredentialScanProperties {
3078
2512
  }
3079
2513
 
3080
- export declare type TeradataDataSource = TeradataDataSourceBase & DataSource;
2514
+ export declare interface TeradataCredentialScanPropertiesCredential extends CredentialReference {
2515
+ }
3081
2516
 
3082
- export declare interface TeradataDataSourceBase {
2517
+ export declare interface TeradataDataSource extends DataSourceBase {
3083
2518
  properties?: TeradataDataSourceProperties;
2519
+ kind: "Teradata";
3084
2520
  }
3085
2521
 
3086
- export declare type TeradataDataSourceProperties = TeradataDataSourcePropertiesBase & TeradataProperties;
3087
-
3088
- export declare interface TeradataDataSourcePropertiesBase {
2522
+ export declare interface TeradataDataSourceProperties extends TeradataProperties {
3089
2523
  }
3090
2524
 
3091
- export declare type TeradataProperties = TeradataPropertiesBase & DataSourceProperties;
3092
-
3093
- export declare interface TeradataPropertiesBase {
2525
+ export declare interface TeradataProperties extends DataSourceProperties {
3094
2526
  host?: string;
3095
2527
  }
3096
2528
 
3097
- export declare type TeradataScanRuleset = TeradataScanRulesetBase & ScanRuleset;
3098
-
3099
- export declare interface TeradataScanRulesetBase {
2529
+ export declare interface TeradataScanRuleset extends ScanRulesetBase {
3100
2530
  properties?: TeradataScanRulesetPropertiesAutoGenerated;
2531
+ kind: "Teradata";
3101
2532
  }
3102
2533
 
3103
- export declare type TeradataScanRulesetProperties = TeradataScanRulesetPropertiesBase & ScanRulesetProperties;
3104
-
3105
- export declare type TeradataScanRulesetPropertiesAutoGenerated = TeradataScanRulesetPropertiesAutoGeneratedBase & TeradataScanRulesetProperties;
3106
-
3107
- export declare interface TeradataScanRulesetPropertiesAutoGeneratedBase {
2534
+ export declare interface TeradataScanRulesetProperties extends ScanRulesetProperties {
3108
2535
  }
3109
2536
 
3110
- export declare interface TeradataScanRulesetPropertiesBase {
2537
+ export declare interface TeradataScanRulesetPropertiesAutoGenerated extends TeradataScanRulesetProperties {
3111
2538
  }
3112
2539
 
3113
- export declare type TeradataSystemScanRuleset = TeradataSystemScanRulesetBase & SystemScanRuleset;
3114
-
3115
- export declare interface TeradataSystemScanRulesetBase {
2540
+ export declare interface TeradataSystemScanRuleset extends SystemScanRulesetBase {
3116
2541
  properties?: TeradataSystemScanRulesetProperties;
2542
+ kind: "None";
3117
2543
  }
3118
2544
 
3119
- export declare type TeradataSystemScanRulesetProperties = TeradataSystemScanRulesetPropertiesBase & TeradataScanRulesetProperties;
3120
-
3121
- export declare interface TeradataSystemScanRulesetPropertiesBase {
3122
- }
3123
-
3124
- export declare type TeradataUserPassScan = TeradataUserPassScanBase & Scan;
3125
-
3126
- export declare type TeradataUserPassScanAutoGenerated = TeradataUserPassScanAutoGeneratedBase & Scan;
3127
-
3128
- export declare interface TeradataUserPassScanAutoGeneratedBase {
3129
- properties?: TeradataUserPassScanPropertiesAutoGenerated3;
2545
+ export declare interface TeradataSystemScanRulesetProperties extends TeradataScanRulesetProperties {
3130
2546
  }
3131
2547
 
3132
- export declare interface TeradataUserPassScanBase {
2548
+ export declare interface TeradataUserPassScan extends ScanBase {
3133
2549
  properties?: TeradataUserPassScanPropertiesAutoGenerated;
2550
+ kind: "TeradataUserPass";
3134
2551
  }
3135
2552
 
3136
- export declare type TeradataUserPassScanProperties = TeradataUserPassScanPropertiesBase & ScanProperties;
3137
-
3138
- export declare type TeradataUserPassScanPropertiesAutoGenerated = TeradataUserPassScanPropertiesAutoGeneratedBase & TeradataUserPassScanProperties;
3139
-
3140
- export declare type TeradataUserPassScanPropertiesAutoGenerated2 = TeradataUserPassScanPropertiesAutoGenerated2Base & MitiScanProperties;
2553
+ export declare interface TeradataUserPassScanAutoGenerated extends ScanBase {
2554
+ properties?: TeradataUserPassScanPropertiesAutoGenerated3;
2555
+ kind: "TeradataTeradataUserPass";
2556
+ }
3141
2557
 
3142
- export declare interface TeradataUserPassScanPropertiesAutoGenerated2Base {
2558
+ export declare interface TeradataUserPassScanProperties extends ScanProperties {
3143
2559
  username?: string;
3144
2560
  password?: string;
3145
- schema?: string;
3146
- driverLocation?: string;
3147
- }
3148
-
3149
- export declare type TeradataUserPassScanPropertiesAutoGenerated3 = TeradataUserPassScanPropertiesAutoGenerated3Base & TeradataUserPassScanPropertiesAutoGenerated2;
3150
-
3151
- export declare interface TeradataUserPassScanPropertiesAutoGenerated3Base {
3152
2561
  }
3153
2562
 
3154
- export declare interface TeradataUserPassScanPropertiesAutoGeneratedBase {
2563
+ export declare interface TeradataUserPassScanPropertiesAutoGenerated extends TeradataUserPassScanProperties {
3155
2564
  }
3156
2565
 
3157
- export declare interface TeradataUserPassScanPropertiesBase {
2566
+ export declare interface TeradataUserPassScanPropertiesAutoGenerated2 extends MitiScanProperties {
3158
2567
  username?: string;
3159
2568
  password?: string;
2569
+ schema?: string;
2570
+ driverLocation?: string;
3160
2571
  }
3161
2572
 
3162
- export declare type Trigger = TriggerBase & ProxyResource;
3163
-
3164
- export declare interface TriggerBase {
3165
- properties?: TriggerProperties;
2573
+ export declare interface TeradataUserPassScanPropertiesAutoGenerated3 extends TeradataUserPassScanPropertiesAutoGenerated2 {
3166
2574
  }
3167
2575
 
3168
- export declare type TriggerFrequency = "Week" | "Month";
3169
-
3170
- export declare type TriggerProperties = TriggerPropertiesBase & TriggerPropertiesAutoGenerated;
2576
+ export declare interface Trigger extends ProxyResource {
2577
+ properties?: TriggerPropertiesAutoGenerated;
2578
+ }
3171
2579
 
3172
- export declare interface TriggerPropertiesAutoGenerated {
2580
+ export declare interface TriggerProperties {
3173
2581
  recurrence?: TriggerPropertiesRecurrence;
3174
2582
  recurrenceInterval?: string;
3175
2583
  createdAt?: Date;
3176
2584
  lastModifiedAt?: Date;
3177
2585
  lastScheduled?: Date;
3178
- scanLevel?: ScanLevelType;
2586
+ scanLevel?: "Full" | "Incremental";
3179
2587
  incrementalScanStartTime?: Date;
3180
2588
  }
3181
2589
 
3182
- export declare interface TriggerPropertiesBase {
2590
+ export declare interface TriggerPropertiesAutoGenerated extends TriggerProperties {
3183
2591
  }
3184
2592
 
3185
- export declare type TriggerPropertiesRecurrence = TriggerPropertiesRecurrenceBase & TriggerRecurrence;
3186
-
3187
- export declare interface TriggerPropertiesRecurrenceBase {
2593
+ export declare interface TriggerPropertiesRecurrence extends TriggerRecurrence {
3188
2594
  }
3189
2595
 
3190
2596
  export declare interface TriggerRecurrence {
3191
- frequency?: TriggerFrequency;
2597
+ frequency?: "Week" | "Month";
3192
2598
  interval?: number;
3193
2599
  startTime?: Date;
3194
2600
  endTime?: Date;
@@ -3196,9 +2602,7 @@ export declare interface TriggerRecurrence {
3196
2602
  timeZone?: string;
3197
2603
  }
3198
2604
 
3199
- export declare type TriggerRecurrenceSchedule = TriggerRecurrenceScheduleBase & RecurrenceSchedule;
3200
-
3201
- export declare interface TriggerRecurrenceScheduleBase {
2605
+ export declare interface TriggerRecurrenceSchedule extends RecurrenceSchedule {
3202
2606
  }
3203
2607
 
3204
2608
  /** Creates an instance of a trigger */
@@ -3223,16 +2627,7 @@ export declare interface TriggersCreateTriggerdefaultResponse extends HttpRespon
3223
2627
  body: ErrorResponseModel;
3224
2628
  }
3225
2629
 
3226
- export declare type TriggersCreateTriggerParameters = RequestParameters & TriggersCreateTriggerBodyParam;
3227
-
3228
- export declare interface TriggersDeleteTrigger {
3229
- /** Gets trigger information */
3230
- get(options?: TriggersGetTriggerParameters): Promise<TriggersGetTrigger200Response | TriggersGetTriggerdefaultResponse>;
3231
- /** Creates an instance of a trigger */
3232
- put(options: TriggersCreateTriggerParameters): Promise<TriggersCreateTrigger200Response | TriggersCreateTrigger201Response | TriggersCreateTriggerdefaultResponse>;
3233
- /** Deletes the trigger associated with the scan */
3234
- delete(options?: TriggersDeleteTriggerParameters): Promise<TriggersDeleteTrigger200Response | TriggersDeleteTrigger204Response | TriggersDeleteTriggerdefaultResponse>;
3235
- }
2630
+ export declare type TriggersCreateTriggerParameters = TriggersCreateTriggerBodyParam & RequestParameters;
3236
2631
 
3237
2632
  /** Deletes the trigger associated with the scan */
3238
2633
  export declare interface TriggersDeleteTrigger200Response extends HttpResponse {
@@ -3243,6 +2638,7 @@ export declare interface TriggersDeleteTrigger200Response extends HttpResponse {
3243
2638
  /** Deletes the trigger associated with the scan */
3244
2639
  export declare interface TriggersDeleteTrigger204Response extends HttpResponse {
3245
2640
  status: "204";
2641
+ body: Record<string, unknown>;
3246
2642
  }
3247
2643
 
3248
2644
  /** Deletes the trigger associated with the scan */
@@ -3253,6 +2649,15 @@ export declare interface TriggersDeleteTriggerdefaultResponse extends HttpRespon
3253
2649
 
3254
2650
  export declare type TriggersDeleteTriggerParameters = RequestParameters;
3255
2651
 
2652
+ export declare interface TriggersGetTrigger {
2653
+ /** Gets trigger information */
2654
+ get(options?: TriggersGetTriggerParameters): Promise<TriggersGetTrigger200Response | TriggersGetTriggerdefaultResponse>;
2655
+ /** Creates an instance of a trigger */
2656
+ put(options: TriggersCreateTriggerParameters): Promise<TriggersCreateTrigger200Response | TriggersCreateTrigger201Response | TriggersCreateTriggerdefaultResponse>;
2657
+ /** Deletes the trigger associated with the scan */
2658
+ delete(options?: TriggersDeleteTriggerParameters): Promise<TriggersDeleteTrigger200Response | TriggersDeleteTrigger204Response | TriggersDeleteTriggerdefaultResponse>;
2659
+ }
2660
+
3256
2661
  /** Gets trigger information */
3257
2662
  export declare interface TriggersGetTrigger200Response extends HttpResponse {
3258
2663
  status: "200";
@@ -3267,11 +2672,9 @@ export declare interface TriggersGetTriggerdefaultResponse extends HttpResponse
3267
2672
 
3268
2673
  export declare type TriggersGetTriggerParameters = RequestParameters;
3269
2674
 
3270
- export declare type VersionedScanRuleset = VersionedScanRulesetBase & ProxyResource;
3271
-
3272
- export declare interface VersionedScanRulesetBase {
3273
- scanRulesetType?: ScanRulesetType;
3274
- status?: ScanRulesetStatus;
2675
+ export declare interface VersionedScanRuleset extends ProxyResource {
2676
+ scanRulesetType?: "Custom" | "System";
2677
+ status?: "Enabled" | "Disabled";
3275
2678
  version?: number;
3276
2679
  }
3277
2680