@azure/arm-advisor 3.2.0-alpha.20250620.1 → 3.2.0-alpha.20250718.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,446 +1,446 @@
|
|
|
1
|
-
## API Report File for "@azure/arm-advisor"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import * as coreAuth from '@azure/core-auth';
|
|
8
|
-
import * as coreClient from '@azure/core-client';
|
|
9
|
-
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
10
|
-
|
|
11
|
-
// @public (undocumented)
|
|
12
|
-
export class AdvisorManagementClient extends coreClient.ServiceClient {
|
|
13
|
-
// (undocumented)
|
|
14
|
-
$host: string;
|
|
15
|
-
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AdvisorManagementClientOptionalParams);
|
|
16
|
-
constructor(credentials: coreAuth.TokenCredential, options?: AdvisorManagementClientOptionalParams);
|
|
17
|
-
// (undocumented)
|
|
18
|
-
apiVersion: string;
|
|
19
|
-
// (undocumented)
|
|
20
|
-
configurations: Configurations;
|
|
21
|
-
// (undocumented)
|
|
22
|
-
operations: Operations;
|
|
23
|
-
// (undocumented)
|
|
24
|
-
recommendationMetadata: RecommendationMetadata;
|
|
25
|
-
// (undocumented)
|
|
26
|
-
recommendations: Recommendations;
|
|
27
|
-
// (undocumented)
|
|
28
|
-
subscriptionId?: string;
|
|
29
|
-
// (undocumented)
|
|
30
|
-
suppressions: Suppressions;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
// @public
|
|
34
|
-
export interface AdvisorManagementClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
35
|
-
$host?: string;
|
|
36
|
-
apiVersion?: string;
|
|
37
|
-
endpoint?: string;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
// @public (undocumented)
|
|
41
|
-
export interface ArmErrorResponse {
|
|
42
|
-
error?: ARMErrorResponseBody;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// @public
|
|
46
|
-
export interface ARMErrorResponseBody {
|
|
47
|
-
code?: string;
|
|
48
|
-
message?: string;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
// @public
|
|
52
|
-
export type Category = string;
|
|
53
|
-
|
|
54
|
-
// @public
|
|
55
|
-
export interface ConfigData extends Resource {
|
|
56
|
-
digests?: DigestConfig[];
|
|
57
|
-
exclude?: boolean;
|
|
58
|
-
lowCpuThreshold?: CpuThreshold;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
// @public
|
|
62
|
-
export interface ConfigurationListResult {
|
|
63
|
-
nextLink?: string;
|
|
64
|
-
value?: ConfigData[];
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
// @public
|
|
68
|
-
export type ConfigurationName = string;
|
|
69
|
-
|
|
70
|
-
// @public
|
|
71
|
-
export interface Configurations {
|
|
72
|
-
createInResourceGroup(configurationName: ConfigurationName, resourceGroup: string, configContract: ConfigData, options?: ConfigurationsCreateInResourceGroupOptionalParams): Promise<ConfigurationsCreateInResourceGroupResponse>;
|
|
73
|
-
createInSubscription(configurationName: ConfigurationName, configContract: ConfigData, options?: ConfigurationsCreateInSubscriptionOptionalParams): Promise<ConfigurationsCreateInSubscriptionResponse>;
|
|
74
|
-
listByResourceGroup(resourceGroup: string, options?: ConfigurationsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ConfigData>;
|
|
75
|
-
listBySubscription(options?: ConfigurationsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ConfigData>;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
// @public
|
|
79
|
-
export interface ConfigurationsCreateInResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
// @public
|
|
83
|
-
export type ConfigurationsCreateInResourceGroupResponse = ConfigData;
|
|
84
|
-
|
|
85
|
-
// @public
|
|
86
|
-
export interface ConfigurationsCreateInSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
// @public
|
|
90
|
-
export type ConfigurationsCreateInSubscriptionResponse = ConfigData;
|
|
91
|
-
|
|
92
|
-
// @public
|
|
93
|
-
export interface ConfigurationsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// @public
|
|
97
|
-
export type ConfigurationsListByResourceGroupResponse = ConfigurationListResult;
|
|
98
|
-
|
|
99
|
-
// @public
|
|
100
|
-
export interface ConfigurationsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// @public
|
|
104
|
-
export type ConfigurationsListBySubscriptionNextResponse = ConfigurationListResult;
|
|
105
|
-
|
|
106
|
-
// @public
|
|
107
|
-
export interface ConfigurationsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
// @public
|
|
111
|
-
export type ConfigurationsListBySubscriptionResponse = ConfigurationListResult;
|
|
112
|
-
|
|
113
|
-
// @public
|
|
114
|
-
export type CpuThreshold = string;
|
|
115
|
-
|
|
116
|
-
// @public
|
|
117
|
-
export interface DigestConfig {
|
|
118
|
-
actionGroupResourceId?: string;
|
|
119
|
-
categories?: Category[];
|
|
120
|
-
frequency?: number;
|
|
121
|
-
language?: string;
|
|
122
|
-
name?: string;
|
|
123
|
-
state?: DigestConfigState;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
// @public
|
|
127
|
-
export type DigestConfigState = string;
|
|
128
|
-
|
|
129
|
-
// @public
|
|
130
|
-
export function getContinuationToken(page: unknown): string | undefined;
|
|
131
|
-
|
|
132
|
-
// @public
|
|
133
|
-
export type Impact = string;
|
|
134
|
-
|
|
135
|
-
// @public
|
|
136
|
-
export enum KnownCategory {
|
|
137
|
-
Cost = "Cost",
|
|
138
|
-
HighAvailability = "HighAvailability",
|
|
139
|
-
OperationalExcellence = "OperationalExcellence",
|
|
140
|
-
Performance = "Performance",
|
|
141
|
-
Security = "Security"
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
// @public
|
|
145
|
-
export enum KnownConfigurationName {
|
|
146
|
-
Default = "default"
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
// @public
|
|
150
|
-
export enum KnownCpuThreshold {
|
|
151
|
-
Fifteen = "15",
|
|
152
|
-
Five = "5",
|
|
153
|
-
Ten = "10",
|
|
154
|
-
Twenty = "20"
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
// @public
|
|
158
|
-
export enum KnownDigestConfigState {
|
|
159
|
-
Active = "Active",
|
|
160
|
-
Disabled = "Disabled"
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
// @public
|
|
164
|
-
export enum KnownImpact {
|
|
165
|
-
High = "High",
|
|
166
|
-
Low = "Low",
|
|
167
|
-
Medium = "Medium"
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
// @public
|
|
171
|
-
export enum KnownRisk {
|
|
172
|
-
Error = "Error",
|
|
173
|
-
None = "None",
|
|
174
|
-
Warning = "Warning"
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
// @public
|
|
178
|
-
export enum KnownScenario {
|
|
179
|
-
Alerts = "Alerts"
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
// @public
|
|
183
|
-
export interface MetadataEntity {
|
|
184
|
-
applicableScenarios?: Scenario[];
|
|
185
|
-
dependsOn?: string[];
|
|
186
|
-
displayName?: string;
|
|
187
|
-
id?: string;
|
|
188
|
-
name?: string;
|
|
189
|
-
supportedValues?: MetadataSupportedValueDetail[];
|
|
190
|
-
type?: string;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
// @public
|
|
194
|
-
export interface MetadataEntityListResult {
|
|
195
|
-
nextLink?: string;
|
|
196
|
-
value?: MetadataEntity[];
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
// @public
|
|
200
|
-
export interface MetadataSupportedValueDetail {
|
|
201
|
-
displayName?: string;
|
|
202
|
-
id?: string;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
// @public
|
|
206
|
-
export interface OperationDisplayInfo {
|
|
207
|
-
description?: string;
|
|
208
|
-
operation?: string;
|
|
209
|
-
provider?: string;
|
|
210
|
-
resource?: string;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
// @public
|
|
214
|
-
export interface OperationEntity {
|
|
215
|
-
display?: OperationDisplayInfo;
|
|
216
|
-
name?: string;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
// @public
|
|
220
|
-
export interface OperationEntityListResult {
|
|
221
|
-
nextLink?: string;
|
|
222
|
-
value?: OperationEntity[];
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
// @public
|
|
226
|
-
export interface Operations {
|
|
227
|
-
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<OperationEntity>;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
// @public
|
|
231
|
-
export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
// @public
|
|
235
|
-
export type OperationsListNextResponse = OperationEntityListResult;
|
|
236
|
-
|
|
237
|
-
// @public
|
|
238
|
-
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
// @public
|
|
242
|
-
export type OperationsListResponse = OperationEntityListResult;
|
|
243
|
-
|
|
244
|
-
// @public
|
|
245
|
-
export interface RecommendationMetadata {
|
|
246
|
-
get(name: string, options?: RecommendationMetadataGetOptionalParams): Promise<RecommendationMetadataGetResponse>;
|
|
247
|
-
list(options?: RecommendationMetadataListOptionalParams): PagedAsyncIterableIterator<MetadataEntity>;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
// @public
|
|
251
|
-
export interface RecommendationMetadataGetOptionalParams extends coreClient.OperationOptions {
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
// @public
|
|
255
|
-
export type RecommendationMetadataGetResponse = MetadataEntity;
|
|
256
|
-
|
|
257
|
-
// @public
|
|
258
|
-
export interface RecommendationMetadataListNextOptionalParams extends coreClient.OperationOptions {
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
// @public
|
|
262
|
-
export type RecommendationMetadataListNextResponse = MetadataEntityListResult;
|
|
263
|
-
|
|
264
|
-
// @public
|
|
265
|
-
export interface RecommendationMetadataListOptionalParams extends coreClient.OperationOptions {
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
// @public
|
|
269
|
-
export type RecommendationMetadataListResponse = MetadataEntityListResult;
|
|
270
|
-
|
|
271
|
-
// @public
|
|
272
|
-
export interface Recommendations {
|
|
273
|
-
generate(options?: RecommendationsGenerateOptionalParams): Promise<RecommendationsGenerateResponse>;
|
|
274
|
-
get(resourceUri: string, recommendationId: string, options?: RecommendationsGetOptionalParams): Promise<RecommendationsGetResponse>;
|
|
275
|
-
getGenerateStatus(operationId: string, options?: RecommendationsGetGenerateStatusOptionalParams): Promise<void>;
|
|
276
|
-
list(options?: RecommendationsListOptionalParams): PagedAsyncIterableIterator<ResourceRecommendationBase>;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
// @public
|
|
280
|
-
export interface RecommendationsGenerateHeaders {
|
|
281
|
-
location?: string;
|
|
282
|
-
retryAfter?: string;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
// @public
|
|
286
|
-
export interface RecommendationsGenerateOptionalParams extends coreClient.OperationOptions {
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
// @public
|
|
290
|
-
export type RecommendationsGenerateResponse = RecommendationsGenerateHeaders;
|
|
291
|
-
|
|
292
|
-
// @public
|
|
293
|
-
export interface RecommendationsGetGenerateStatusOptionalParams extends coreClient.OperationOptions {
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
// @public
|
|
297
|
-
export interface RecommendationsGetOptionalParams extends coreClient.OperationOptions {
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
// @public
|
|
301
|
-
export type RecommendationsGetResponse = ResourceRecommendationBase;
|
|
302
|
-
|
|
303
|
-
// @public
|
|
304
|
-
export interface RecommendationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
// @public
|
|
308
|
-
export type RecommendationsListNextResponse = ResourceRecommendationBaseListResult;
|
|
309
|
-
|
|
310
|
-
// @public
|
|
311
|
-
export interface RecommendationsListOptionalParams extends coreClient.OperationOptions {
|
|
312
|
-
filter?: string;
|
|
313
|
-
skipToken?: string;
|
|
314
|
-
top?: number;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
// @public
|
|
318
|
-
export type RecommendationsListResponse = ResourceRecommendationBaseListResult;
|
|
319
|
-
|
|
320
|
-
// @public
|
|
321
|
-
export interface Resource {
|
|
322
|
-
readonly id?: string;
|
|
323
|
-
readonly name?: string;
|
|
324
|
-
readonly type?: string;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
// @public
|
|
328
|
-
export interface ResourceMetadata {
|
|
329
|
-
action?: {
|
|
330
|
-
[propertyName: string]: Record<string, unknown>;
|
|
331
|
-
};
|
|
332
|
-
plural?: string;
|
|
333
|
-
resourceId?: string;
|
|
334
|
-
singular?: string;
|
|
335
|
-
source?: string;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
// @public
|
|
339
|
-
export interface ResourceRecommendationBase extends Resource {
|
|
340
|
-
actions?: {
|
|
341
|
-
[propertyName: string]: Record<string, unknown>;
|
|
342
|
-
}[];
|
|
343
|
-
category?: Category;
|
|
344
|
-
description?: string;
|
|
345
|
-
exposedMetadataProperties?: {
|
|
346
|
-
[propertyName: string]: Record<string, unknown>;
|
|
347
|
-
};
|
|
348
|
-
extendedProperties?: {
|
|
349
|
-
[propertyName: string]: string;
|
|
350
|
-
};
|
|
351
|
-
impact?: Impact;
|
|
352
|
-
impactedField?: string;
|
|
353
|
-
impactedValue?: string;
|
|
354
|
-
label?: string;
|
|
355
|
-
lastUpdated?: Date;
|
|
356
|
-
learnMoreLink?: string;
|
|
357
|
-
metadata?: {
|
|
358
|
-
[propertyName: string]: Record<string, unknown>;
|
|
359
|
-
};
|
|
360
|
-
potentialBenefits?: string;
|
|
361
|
-
recommendationTypeId?: string;
|
|
362
|
-
remediation?: {
|
|
363
|
-
[propertyName: string]: Record<string, unknown>;
|
|
364
|
-
};
|
|
365
|
-
resourceMetadata?: ResourceMetadata;
|
|
366
|
-
risk?: Risk;
|
|
367
|
-
shortDescription?: ShortDescription;
|
|
368
|
-
suppressionIds?: string[];
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
// @public
|
|
372
|
-
export interface ResourceRecommendationBaseListResult {
|
|
373
|
-
nextLink?: string;
|
|
374
|
-
value?: ResourceRecommendationBase[];
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
// @public
|
|
378
|
-
export type Risk = string;
|
|
379
|
-
|
|
380
|
-
// @public
|
|
381
|
-
export type Scenario = string;
|
|
382
|
-
|
|
383
|
-
// @public
|
|
384
|
-
export interface ShortDescription {
|
|
385
|
-
problem?: string;
|
|
386
|
-
solution?: string;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
// @public
|
|
390
|
-
export interface SuppressionContract extends Resource {
|
|
391
|
-
readonly expirationTimeStamp?: Date;
|
|
392
|
-
suppressionId?: string;
|
|
393
|
-
ttl?: string;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
// @public
|
|
397
|
-
export interface SuppressionContractListResult {
|
|
398
|
-
nextLink?: string;
|
|
399
|
-
value?: SuppressionContract[];
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
// @public
|
|
403
|
-
export interface Suppressions {
|
|
404
|
-
create(resourceUri: string, recommendationId: string, name: string, suppressionContract: SuppressionContract, options?: SuppressionsCreateOptionalParams): Promise<SuppressionsCreateResponse>;
|
|
405
|
-
delete(resourceUri: string, recommendationId: string, name: string, options?: SuppressionsDeleteOptionalParams): Promise<void>;
|
|
406
|
-
get(resourceUri: string, recommendationId: string, name: string, options?: SuppressionsGetOptionalParams): Promise<SuppressionsGetResponse>;
|
|
407
|
-
list(options?: SuppressionsListOptionalParams): PagedAsyncIterableIterator<SuppressionContract>;
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
// @public
|
|
411
|
-
export interface SuppressionsCreateOptionalParams extends coreClient.OperationOptions {
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
// @public
|
|
415
|
-
export type SuppressionsCreateResponse = SuppressionContract;
|
|
416
|
-
|
|
417
|
-
// @public
|
|
418
|
-
export interface SuppressionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
// @public
|
|
422
|
-
export interface SuppressionsGetOptionalParams extends coreClient.OperationOptions {
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
// @public
|
|
426
|
-
export type SuppressionsGetResponse = SuppressionContract;
|
|
427
|
-
|
|
428
|
-
// @public
|
|
429
|
-
export interface SuppressionsListNextOptionalParams extends coreClient.OperationOptions {
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
// @public
|
|
433
|
-
export type SuppressionsListNextResponse = SuppressionContractListResult;
|
|
434
|
-
|
|
435
|
-
// @public
|
|
436
|
-
export interface SuppressionsListOptionalParams extends coreClient.OperationOptions {
|
|
437
|
-
skipToken?: string;
|
|
438
|
-
top?: number;
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
// @public
|
|
442
|
-
export type SuppressionsListResponse = SuppressionContractListResult;
|
|
443
|
-
|
|
444
|
-
// (No @packageDocumentation comment for this package)
|
|
445
|
-
|
|
446
|
-
```
|
|
1
|
+
## API Report File for "@azure/arm-advisor"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
import * as coreAuth from '@azure/core-auth';
|
|
8
|
+
import * as coreClient from '@azure/core-client';
|
|
9
|
+
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
10
|
+
|
|
11
|
+
// @public (undocumented)
|
|
12
|
+
export class AdvisorManagementClient extends coreClient.ServiceClient {
|
|
13
|
+
// (undocumented)
|
|
14
|
+
$host: string;
|
|
15
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AdvisorManagementClientOptionalParams);
|
|
16
|
+
constructor(credentials: coreAuth.TokenCredential, options?: AdvisorManagementClientOptionalParams);
|
|
17
|
+
// (undocumented)
|
|
18
|
+
apiVersion: string;
|
|
19
|
+
// (undocumented)
|
|
20
|
+
configurations: Configurations;
|
|
21
|
+
// (undocumented)
|
|
22
|
+
operations: Operations;
|
|
23
|
+
// (undocumented)
|
|
24
|
+
recommendationMetadata: RecommendationMetadata;
|
|
25
|
+
// (undocumented)
|
|
26
|
+
recommendations: Recommendations;
|
|
27
|
+
// (undocumented)
|
|
28
|
+
subscriptionId?: string;
|
|
29
|
+
// (undocumented)
|
|
30
|
+
suppressions: Suppressions;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// @public
|
|
34
|
+
export interface AdvisorManagementClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
35
|
+
$host?: string;
|
|
36
|
+
apiVersion?: string;
|
|
37
|
+
endpoint?: string;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// @public (undocumented)
|
|
41
|
+
export interface ArmErrorResponse {
|
|
42
|
+
error?: ARMErrorResponseBody;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// @public
|
|
46
|
+
export interface ARMErrorResponseBody {
|
|
47
|
+
code?: string;
|
|
48
|
+
message?: string;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// @public
|
|
52
|
+
export type Category = string;
|
|
53
|
+
|
|
54
|
+
// @public
|
|
55
|
+
export interface ConfigData extends Resource {
|
|
56
|
+
digests?: DigestConfig[];
|
|
57
|
+
exclude?: boolean;
|
|
58
|
+
lowCpuThreshold?: CpuThreshold;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
// @public
|
|
62
|
+
export interface ConfigurationListResult {
|
|
63
|
+
nextLink?: string;
|
|
64
|
+
value?: ConfigData[];
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// @public
|
|
68
|
+
export type ConfigurationName = string;
|
|
69
|
+
|
|
70
|
+
// @public
|
|
71
|
+
export interface Configurations {
|
|
72
|
+
createInResourceGroup(configurationName: ConfigurationName, resourceGroup: string, configContract: ConfigData, options?: ConfigurationsCreateInResourceGroupOptionalParams): Promise<ConfigurationsCreateInResourceGroupResponse>;
|
|
73
|
+
createInSubscription(configurationName: ConfigurationName, configContract: ConfigData, options?: ConfigurationsCreateInSubscriptionOptionalParams): Promise<ConfigurationsCreateInSubscriptionResponse>;
|
|
74
|
+
listByResourceGroup(resourceGroup: string, options?: ConfigurationsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ConfigData>;
|
|
75
|
+
listBySubscription(options?: ConfigurationsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ConfigData>;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
// @public
|
|
79
|
+
export interface ConfigurationsCreateInResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// @public
|
|
83
|
+
export type ConfigurationsCreateInResourceGroupResponse = ConfigData;
|
|
84
|
+
|
|
85
|
+
// @public
|
|
86
|
+
export interface ConfigurationsCreateInSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
// @public
|
|
90
|
+
export type ConfigurationsCreateInSubscriptionResponse = ConfigData;
|
|
91
|
+
|
|
92
|
+
// @public
|
|
93
|
+
export interface ConfigurationsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// @public
|
|
97
|
+
export type ConfigurationsListByResourceGroupResponse = ConfigurationListResult;
|
|
98
|
+
|
|
99
|
+
// @public
|
|
100
|
+
export interface ConfigurationsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// @public
|
|
104
|
+
export type ConfigurationsListBySubscriptionNextResponse = ConfigurationListResult;
|
|
105
|
+
|
|
106
|
+
// @public
|
|
107
|
+
export interface ConfigurationsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
// @public
|
|
111
|
+
export type ConfigurationsListBySubscriptionResponse = ConfigurationListResult;
|
|
112
|
+
|
|
113
|
+
// @public
|
|
114
|
+
export type CpuThreshold = string;
|
|
115
|
+
|
|
116
|
+
// @public
|
|
117
|
+
export interface DigestConfig {
|
|
118
|
+
actionGroupResourceId?: string;
|
|
119
|
+
categories?: Category[];
|
|
120
|
+
frequency?: number;
|
|
121
|
+
language?: string;
|
|
122
|
+
name?: string;
|
|
123
|
+
state?: DigestConfigState;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// @public
|
|
127
|
+
export type DigestConfigState = string;
|
|
128
|
+
|
|
129
|
+
// @public
|
|
130
|
+
export function getContinuationToken(page: unknown): string | undefined;
|
|
131
|
+
|
|
132
|
+
// @public
|
|
133
|
+
export type Impact = string;
|
|
134
|
+
|
|
135
|
+
// @public
|
|
136
|
+
export enum KnownCategory {
|
|
137
|
+
Cost = "Cost",
|
|
138
|
+
HighAvailability = "HighAvailability",
|
|
139
|
+
OperationalExcellence = "OperationalExcellence",
|
|
140
|
+
Performance = "Performance",
|
|
141
|
+
Security = "Security"
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
// @public
|
|
145
|
+
export enum KnownConfigurationName {
|
|
146
|
+
Default = "default"
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
// @public
|
|
150
|
+
export enum KnownCpuThreshold {
|
|
151
|
+
Fifteen = "15",
|
|
152
|
+
Five = "5",
|
|
153
|
+
Ten = "10",
|
|
154
|
+
Twenty = "20"
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
// @public
|
|
158
|
+
export enum KnownDigestConfigState {
|
|
159
|
+
Active = "Active",
|
|
160
|
+
Disabled = "Disabled"
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
// @public
|
|
164
|
+
export enum KnownImpact {
|
|
165
|
+
High = "High",
|
|
166
|
+
Low = "Low",
|
|
167
|
+
Medium = "Medium"
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
// @public
|
|
171
|
+
export enum KnownRisk {
|
|
172
|
+
Error = "Error",
|
|
173
|
+
None = "None",
|
|
174
|
+
Warning = "Warning"
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
// @public
|
|
178
|
+
export enum KnownScenario {
|
|
179
|
+
Alerts = "Alerts"
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
// @public
|
|
183
|
+
export interface MetadataEntity {
|
|
184
|
+
applicableScenarios?: Scenario[];
|
|
185
|
+
dependsOn?: string[];
|
|
186
|
+
displayName?: string;
|
|
187
|
+
id?: string;
|
|
188
|
+
name?: string;
|
|
189
|
+
supportedValues?: MetadataSupportedValueDetail[];
|
|
190
|
+
type?: string;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
// @public
|
|
194
|
+
export interface MetadataEntityListResult {
|
|
195
|
+
nextLink?: string;
|
|
196
|
+
value?: MetadataEntity[];
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
// @public
|
|
200
|
+
export interface MetadataSupportedValueDetail {
|
|
201
|
+
displayName?: string;
|
|
202
|
+
id?: string;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
// @public
|
|
206
|
+
export interface OperationDisplayInfo {
|
|
207
|
+
description?: string;
|
|
208
|
+
operation?: string;
|
|
209
|
+
provider?: string;
|
|
210
|
+
resource?: string;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
// @public
|
|
214
|
+
export interface OperationEntity {
|
|
215
|
+
display?: OperationDisplayInfo;
|
|
216
|
+
name?: string;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
// @public
|
|
220
|
+
export interface OperationEntityListResult {
|
|
221
|
+
nextLink?: string;
|
|
222
|
+
value?: OperationEntity[];
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
// @public
|
|
226
|
+
export interface Operations {
|
|
227
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<OperationEntity>;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
// @public
|
|
231
|
+
export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
// @public
|
|
235
|
+
export type OperationsListNextResponse = OperationEntityListResult;
|
|
236
|
+
|
|
237
|
+
// @public
|
|
238
|
+
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
// @public
|
|
242
|
+
export type OperationsListResponse = OperationEntityListResult;
|
|
243
|
+
|
|
244
|
+
// @public
|
|
245
|
+
export interface RecommendationMetadata {
|
|
246
|
+
get(name: string, options?: RecommendationMetadataGetOptionalParams): Promise<RecommendationMetadataGetResponse>;
|
|
247
|
+
list(options?: RecommendationMetadataListOptionalParams): PagedAsyncIterableIterator<MetadataEntity>;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
// @public
|
|
251
|
+
export interface RecommendationMetadataGetOptionalParams extends coreClient.OperationOptions {
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
// @public
|
|
255
|
+
export type RecommendationMetadataGetResponse = MetadataEntity;
|
|
256
|
+
|
|
257
|
+
// @public
|
|
258
|
+
export interface RecommendationMetadataListNextOptionalParams extends coreClient.OperationOptions {
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
// @public
|
|
262
|
+
export type RecommendationMetadataListNextResponse = MetadataEntityListResult;
|
|
263
|
+
|
|
264
|
+
// @public
|
|
265
|
+
export interface RecommendationMetadataListOptionalParams extends coreClient.OperationOptions {
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
// @public
|
|
269
|
+
export type RecommendationMetadataListResponse = MetadataEntityListResult;
|
|
270
|
+
|
|
271
|
+
// @public
|
|
272
|
+
export interface Recommendations {
|
|
273
|
+
generate(options?: RecommendationsGenerateOptionalParams): Promise<RecommendationsGenerateResponse>;
|
|
274
|
+
get(resourceUri: string, recommendationId: string, options?: RecommendationsGetOptionalParams): Promise<RecommendationsGetResponse>;
|
|
275
|
+
getGenerateStatus(operationId: string, options?: RecommendationsGetGenerateStatusOptionalParams): Promise<void>;
|
|
276
|
+
list(options?: RecommendationsListOptionalParams): PagedAsyncIterableIterator<ResourceRecommendationBase>;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
// @public
|
|
280
|
+
export interface RecommendationsGenerateHeaders {
|
|
281
|
+
location?: string;
|
|
282
|
+
retryAfter?: string;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
// @public
|
|
286
|
+
export interface RecommendationsGenerateOptionalParams extends coreClient.OperationOptions {
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
// @public
|
|
290
|
+
export type RecommendationsGenerateResponse = RecommendationsGenerateHeaders;
|
|
291
|
+
|
|
292
|
+
// @public
|
|
293
|
+
export interface RecommendationsGetGenerateStatusOptionalParams extends coreClient.OperationOptions {
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
// @public
|
|
297
|
+
export interface RecommendationsGetOptionalParams extends coreClient.OperationOptions {
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
// @public
|
|
301
|
+
export type RecommendationsGetResponse = ResourceRecommendationBase;
|
|
302
|
+
|
|
303
|
+
// @public
|
|
304
|
+
export interface RecommendationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
// @public
|
|
308
|
+
export type RecommendationsListNextResponse = ResourceRecommendationBaseListResult;
|
|
309
|
+
|
|
310
|
+
// @public
|
|
311
|
+
export interface RecommendationsListOptionalParams extends coreClient.OperationOptions {
|
|
312
|
+
filter?: string;
|
|
313
|
+
skipToken?: string;
|
|
314
|
+
top?: number;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
// @public
|
|
318
|
+
export type RecommendationsListResponse = ResourceRecommendationBaseListResult;
|
|
319
|
+
|
|
320
|
+
// @public
|
|
321
|
+
export interface Resource {
|
|
322
|
+
readonly id?: string;
|
|
323
|
+
readonly name?: string;
|
|
324
|
+
readonly type?: string;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
// @public
|
|
328
|
+
export interface ResourceMetadata {
|
|
329
|
+
action?: {
|
|
330
|
+
[propertyName: string]: Record<string, unknown>;
|
|
331
|
+
};
|
|
332
|
+
plural?: string;
|
|
333
|
+
resourceId?: string;
|
|
334
|
+
singular?: string;
|
|
335
|
+
source?: string;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
// @public
|
|
339
|
+
export interface ResourceRecommendationBase extends Resource {
|
|
340
|
+
actions?: {
|
|
341
|
+
[propertyName: string]: Record<string, unknown>;
|
|
342
|
+
}[];
|
|
343
|
+
category?: Category;
|
|
344
|
+
description?: string;
|
|
345
|
+
exposedMetadataProperties?: {
|
|
346
|
+
[propertyName: string]: Record<string, unknown>;
|
|
347
|
+
};
|
|
348
|
+
extendedProperties?: {
|
|
349
|
+
[propertyName: string]: string;
|
|
350
|
+
};
|
|
351
|
+
impact?: Impact;
|
|
352
|
+
impactedField?: string;
|
|
353
|
+
impactedValue?: string;
|
|
354
|
+
label?: string;
|
|
355
|
+
lastUpdated?: Date;
|
|
356
|
+
learnMoreLink?: string;
|
|
357
|
+
metadata?: {
|
|
358
|
+
[propertyName: string]: Record<string, unknown>;
|
|
359
|
+
};
|
|
360
|
+
potentialBenefits?: string;
|
|
361
|
+
recommendationTypeId?: string;
|
|
362
|
+
remediation?: {
|
|
363
|
+
[propertyName: string]: Record<string, unknown>;
|
|
364
|
+
};
|
|
365
|
+
resourceMetadata?: ResourceMetadata;
|
|
366
|
+
risk?: Risk;
|
|
367
|
+
shortDescription?: ShortDescription;
|
|
368
|
+
suppressionIds?: string[];
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
// @public
|
|
372
|
+
export interface ResourceRecommendationBaseListResult {
|
|
373
|
+
nextLink?: string;
|
|
374
|
+
value?: ResourceRecommendationBase[];
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
// @public
|
|
378
|
+
export type Risk = string;
|
|
379
|
+
|
|
380
|
+
// @public
|
|
381
|
+
export type Scenario = string;
|
|
382
|
+
|
|
383
|
+
// @public
|
|
384
|
+
export interface ShortDescription {
|
|
385
|
+
problem?: string;
|
|
386
|
+
solution?: string;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
// @public
|
|
390
|
+
export interface SuppressionContract extends Resource {
|
|
391
|
+
readonly expirationTimeStamp?: Date;
|
|
392
|
+
suppressionId?: string;
|
|
393
|
+
ttl?: string;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
// @public
|
|
397
|
+
export interface SuppressionContractListResult {
|
|
398
|
+
nextLink?: string;
|
|
399
|
+
value?: SuppressionContract[];
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
// @public
|
|
403
|
+
export interface Suppressions {
|
|
404
|
+
create(resourceUri: string, recommendationId: string, name: string, suppressionContract: SuppressionContract, options?: SuppressionsCreateOptionalParams): Promise<SuppressionsCreateResponse>;
|
|
405
|
+
delete(resourceUri: string, recommendationId: string, name: string, options?: SuppressionsDeleteOptionalParams): Promise<void>;
|
|
406
|
+
get(resourceUri: string, recommendationId: string, name: string, options?: SuppressionsGetOptionalParams): Promise<SuppressionsGetResponse>;
|
|
407
|
+
list(options?: SuppressionsListOptionalParams): PagedAsyncIterableIterator<SuppressionContract>;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
// @public
|
|
411
|
+
export interface SuppressionsCreateOptionalParams extends coreClient.OperationOptions {
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
// @public
|
|
415
|
+
export type SuppressionsCreateResponse = SuppressionContract;
|
|
416
|
+
|
|
417
|
+
// @public
|
|
418
|
+
export interface SuppressionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
// @public
|
|
422
|
+
export interface SuppressionsGetOptionalParams extends coreClient.OperationOptions {
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
// @public
|
|
426
|
+
export type SuppressionsGetResponse = SuppressionContract;
|
|
427
|
+
|
|
428
|
+
// @public
|
|
429
|
+
export interface SuppressionsListNextOptionalParams extends coreClient.OperationOptions {
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
// @public
|
|
433
|
+
export type SuppressionsListNextResponse = SuppressionContractListResult;
|
|
434
|
+
|
|
435
|
+
// @public
|
|
436
|
+
export interface SuppressionsListOptionalParams extends coreClient.OperationOptions {
|
|
437
|
+
skipToken?: string;
|
|
438
|
+
top?: number;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
// @public
|
|
442
|
+
export type SuppressionsListResponse = SuppressionContractListResult;
|
|
443
|
+
|
|
444
|
+
// (No @packageDocumentation comment for this package)
|
|
445
|
+
|
|
446
|
+
```
|