@azure-rest/ai-anomaly-detector 1.0.0-alpha.20250620.1 → 1.0.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.
|
@@ -1,719 +1,719 @@
|
|
|
1
|
-
## API Report File for "@azure-rest/ai-anomaly-detector"
|
|
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 type { Client } from '@azure-rest/core-client';
|
|
8
|
-
import type { ClientOptions } from '@azure-rest/core-client';
|
|
9
|
-
import type { HttpResponse } from '@azure-rest/core-client';
|
|
10
|
-
import type { KeyCredential } from '@azure/core-auth';
|
|
11
|
-
import type { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
12
|
-
import type { PathUncheckedResponse } from '@azure-rest/core-client';
|
|
13
|
-
import type { RawHttpHeaders } from '@azure/core-rest-pipeline';
|
|
14
|
-
import type { RequestParameters } from '@azure-rest/core-client';
|
|
15
|
-
import type { StreamableMethod } from '@azure-rest/core-client';
|
|
16
|
-
|
|
17
|
-
// @public
|
|
18
|
-
export interface AlignPolicy {
|
|
19
|
-
alignMode?: "Inner" | "Outer";
|
|
20
|
-
fillNAMethod?: string;
|
|
21
|
-
paddingValue?: number;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// @public
|
|
25
|
-
export interface AlignPolicyOutput {
|
|
26
|
-
alignMode?: "Inner" | "Outer";
|
|
27
|
-
fillNAMethod?: string;
|
|
28
|
-
paddingValue?: number;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
// @public
|
|
32
|
-
export interface AnomalyDetectionModelOutput {
|
|
33
|
-
createdTime: string;
|
|
34
|
-
lastUpdatedTime: string;
|
|
35
|
-
modelId: string;
|
|
36
|
-
modelInfo?: ModelInfoOutput;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
// @public
|
|
40
|
-
export interface AnomalyDetectorErrorOutput {
|
|
41
|
-
code?: string;
|
|
42
|
-
message?: string;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// @public (undocumented)
|
|
46
|
-
export type AnomalyDetectorRestClient = Client & {
|
|
47
|
-
path: Routes;
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
// @public (undocumented)
|
|
51
|
-
export interface AnomalyDetectorRestClientOptions extends ClientOptions {
|
|
52
|
-
// (undocumented)
|
|
53
|
-
ApiVersion?: string;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
// @public
|
|
57
|
-
export interface AnomalyInterpretationOutput {
|
|
58
|
-
contributionScore?: number;
|
|
59
|
-
correlationChanges?: CorrelationChangesOutput;
|
|
60
|
-
variable?: string;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// @public
|
|
64
|
-
export interface AnomalyStateOutput {
|
|
65
|
-
errors?: Array<ErrorResponseOutput>;
|
|
66
|
-
timestamp: string;
|
|
67
|
-
value?: AnomalyValueOutput;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
// @public
|
|
71
|
-
export interface AnomalyValueOutput {
|
|
72
|
-
interpretation?: Array<AnomalyInterpretationOutput>;
|
|
73
|
-
isAnomaly: boolean;
|
|
74
|
-
score: number;
|
|
75
|
-
severity: number;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
// @public
|
|
79
|
-
export interface CorrelationChangesOutput {
|
|
80
|
-
changedVariables?: string[];
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
// @public
|
|
84
|
-
function createClient(Endpoint: string, credentials: KeyCredential, options?: AnomalyDetectorRestClientOptions): AnomalyDetectorRestClient;
|
|
85
|
-
export default createClient;
|
|
86
|
-
|
|
87
|
-
// @public (undocumented)
|
|
88
|
-
export interface DeleteMultivariateModel {
|
|
89
|
-
delete(options?: DeleteMultivariateModelParameters): StreamableMethod<DeleteMultivariateModel204Response | DeleteMultivariateModelDefaultResponse>;
|
|
90
|
-
get(options?: GetMultivariateModelParameters): StreamableMethod<GetMultivariateModel200Response | GetMultivariateModelDefaultResponse>;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// @public
|
|
94
|
-
export interface DeleteMultivariateModel204Response extends HttpResponse {
|
|
95
|
-
// (undocumented)
|
|
96
|
-
status: "204";
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// @public (undocumented)
|
|
100
|
-
export interface DeleteMultivariateModelDefaultHeaders {
|
|
101
|
-
"x-ms-error-code"?: string;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// @public (undocumented)
|
|
105
|
-
export interface DeleteMultivariateModelDefaultResponse extends HttpResponse {
|
|
106
|
-
// (undocumented)
|
|
107
|
-
body: ErrorResponseOutput;
|
|
108
|
-
// (undocumented)
|
|
109
|
-
headers: RawHttpHeaders & DeleteMultivariateModelDefaultHeaders;
|
|
110
|
-
// (undocumented)
|
|
111
|
-
status: string;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
// @public (undocumented)
|
|
115
|
-
export type DeleteMultivariateModelParameters = RequestParameters;
|
|
116
|
-
|
|
117
|
-
// @public (undocumented)
|
|
118
|
-
export interface DetectMultivariateBatchAnomaly {
|
|
119
|
-
post(options: DetectMultivariateBatchAnomalyParameters): StreamableMethod<DetectMultivariateBatchAnomaly202Response | DetectMultivariateBatchAnomalyDefaultResponse>;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
// @public (undocumented)
|
|
123
|
-
export interface DetectMultivariateBatchAnomaly202Headers {
|
|
124
|
-
"operation-id": string;
|
|
125
|
-
"operation-location": string;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
// @public
|
|
129
|
-
export interface DetectMultivariateBatchAnomaly202Response extends HttpResponse {
|
|
130
|
-
// (undocumented)
|
|
131
|
-
body: MultivariateDetectionResultOutput;
|
|
132
|
-
// (undocumented)
|
|
133
|
-
headers: RawHttpHeaders & DetectMultivariateBatchAnomaly202Headers;
|
|
134
|
-
// (undocumented)
|
|
135
|
-
status: "202";
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
// @public (undocumented)
|
|
139
|
-
export interface DetectMultivariateBatchAnomalyBodyParam {
|
|
140
|
-
body: MultivariateBatchDetectionOptions;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
// @public (undocumented)
|
|
144
|
-
export interface DetectMultivariateBatchAnomalyDefaultHeaders {
|
|
145
|
-
"x-ms-error-code"?: string;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
// @public (undocumented)
|
|
149
|
-
export interface DetectMultivariateBatchAnomalyDefaultResponse extends HttpResponse {
|
|
150
|
-
// (undocumented)
|
|
151
|
-
body: ErrorResponseOutput;
|
|
152
|
-
// (undocumented)
|
|
153
|
-
headers: RawHttpHeaders & DetectMultivariateBatchAnomalyDefaultHeaders;
|
|
154
|
-
// (undocumented)
|
|
155
|
-
status: string;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
// @public (undocumented)
|
|
159
|
-
export type DetectMultivariateBatchAnomalyParameters = DetectMultivariateBatchAnomalyBodyParam & RequestParameters;
|
|
160
|
-
|
|
161
|
-
// @public (undocumented)
|
|
162
|
-
export interface DetectMultivariateLastAnomaly {
|
|
163
|
-
post(options: DetectMultivariateLastAnomalyParameters): StreamableMethod<DetectMultivariateLastAnomaly200Response | DetectMultivariateLastAnomalyDefaultResponse>;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
// @public
|
|
167
|
-
export interface DetectMultivariateLastAnomaly200Response extends HttpResponse {
|
|
168
|
-
// (undocumented)
|
|
169
|
-
body: MultivariateLastDetectionResultOutput;
|
|
170
|
-
// (undocumented)
|
|
171
|
-
status: "200";
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
// @public (undocumented)
|
|
175
|
-
export interface DetectMultivariateLastAnomalyBodyParam {
|
|
176
|
-
body: MultivariateLastDetectionOptions;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
// @public (undocumented)
|
|
180
|
-
export interface DetectMultivariateLastAnomalyDefaultHeaders {
|
|
181
|
-
"x-ms-error-code"?: string;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
// @public (undocumented)
|
|
185
|
-
export interface DetectMultivariateLastAnomalyDefaultResponse extends HttpResponse {
|
|
186
|
-
// (undocumented)
|
|
187
|
-
body: ErrorResponseOutput;
|
|
188
|
-
// (undocumented)
|
|
189
|
-
headers: RawHttpHeaders & DetectMultivariateLastAnomalyDefaultHeaders;
|
|
190
|
-
// (undocumented)
|
|
191
|
-
status: string;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
// @public (undocumented)
|
|
195
|
-
export type DetectMultivariateLastAnomalyParameters = DetectMultivariateLastAnomalyBodyParam & RequestParameters;
|
|
196
|
-
|
|
197
|
-
// @public (undocumented)
|
|
198
|
-
export interface DetectUnivariateChangePoint {
|
|
199
|
-
post(options: DetectUnivariateChangePointParameters): StreamableMethod<DetectUnivariateChangePoint200Response | DetectUnivariateChangePointDefaultResponse>;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
// @public
|
|
203
|
-
export interface DetectUnivariateChangePoint200Response extends HttpResponse {
|
|
204
|
-
// (undocumented)
|
|
205
|
-
body: UnivariateChangePointDetectionResultOutput;
|
|
206
|
-
// (undocumented)
|
|
207
|
-
status: "200";
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
// @public (undocumented)
|
|
211
|
-
export interface DetectUnivariateChangePointBodyParam {
|
|
212
|
-
body: UnivariateChangePointDetectionOptions;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
// @public (undocumented)
|
|
216
|
-
export interface DetectUnivariateChangePointDefaultHeaders {
|
|
217
|
-
"x-ms-error-code"?: string;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
// @public (undocumented)
|
|
221
|
-
export interface DetectUnivariateChangePointDefaultResponse extends HttpResponse {
|
|
222
|
-
// (undocumented)
|
|
223
|
-
body: AnomalyDetectorErrorOutput;
|
|
224
|
-
// (undocumented)
|
|
225
|
-
headers: RawHttpHeaders & DetectUnivariateChangePointDefaultHeaders;
|
|
226
|
-
// (undocumented)
|
|
227
|
-
status: string;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
// @public (undocumented)
|
|
231
|
-
export type DetectUnivariateChangePointParameters = DetectUnivariateChangePointBodyParam & RequestParameters;
|
|
232
|
-
|
|
233
|
-
// @public (undocumented)
|
|
234
|
-
export interface DetectUnivariateEntireSeries {
|
|
235
|
-
post(options: DetectUnivariateEntireSeriesParameters): StreamableMethod<DetectUnivariateEntireSeries200Response | DetectUnivariateEntireSeriesDefaultResponse>;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
// @public
|
|
239
|
-
export interface DetectUnivariateEntireSeries200Response extends HttpResponse {
|
|
240
|
-
// (undocumented)
|
|
241
|
-
body: UnivariateEntireDetectionResultOutput;
|
|
242
|
-
// (undocumented)
|
|
243
|
-
status: "200";
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
// @public (undocumented)
|
|
247
|
-
export interface DetectUnivariateEntireSeriesBodyParam {
|
|
248
|
-
body: UnivariateDetectionOptions;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
// @public (undocumented)
|
|
252
|
-
export interface DetectUnivariateEntireSeriesDefaultHeaders {
|
|
253
|
-
"x-ms-error-code"?: string;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
// @public (undocumented)
|
|
257
|
-
export interface DetectUnivariateEntireSeriesDefaultResponse extends HttpResponse {
|
|
258
|
-
// (undocumented)
|
|
259
|
-
body: AnomalyDetectorErrorOutput;
|
|
260
|
-
// (undocumented)
|
|
261
|
-
headers: RawHttpHeaders & DetectUnivariateEntireSeriesDefaultHeaders;
|
|
262
|
-
// (undocumented)
|
|
263
|
-
status: string;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
// @public (undocumented)
|
|
267
|
-
export type DetectUnivariateEntireSeriesParameters = DetectUnivariateEntireSeriesBodyParam & RequestParameters;
|
|
268
|
-
|
|
269
|
-
// @public (undocumented)
|
|
270
|
-
export interface DetectUnivariateLastPoint {
|
|
271
|
-
post(options: DetectUnivariateLastPointParameters): StreamableMethod<DetectUnivariateLastPoint200Response | DetectUnivariateLastPointDefaultResponse>;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
// @public
|
|
275
|
-
export interface DetectUnivariateLastPoint200Response extends HttpResponse {
|
|
276
|
-
// (undocumented)
|
|
277
|
-
body: UnivariateLastDetectionResultOutput;
|
|
278
|
-
// (undocumented)
|
|
279
|
-
status: "200";
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
// @public (undocumented)
|
|
283
|
-
export interface DetectUnivariateLastPointBodyParam {
|
|
284
|
-
body: UnivariateDetectionOptions;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
// @public (undocumented)
|
|
288
|
-
export interface DetectUnivariateLastPointDefaultHeaders {
|
|
289
|
-
"x-ms-error-code"?: string;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
// @public (undocumented)
|
|
293
|
-
export interface DetectUnivariateLastPointDefaultResponse extends HttpResponse {
|
|
294
|
-
// (undocumented)
|
|
295
|
-
body: AnomalyDetectorErrorOutput;
|
|
296
|
-
// (undocumented)
|
|
297
|
-
headers: RawHttpHeaders & DetectUnivariateLastPointDefaultHeaders;
|
|
298
|
-
// (undocumented)
|
|
299
|
-
status: string;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
// @public (undocumented)
|
|
303
|
-
export type DetectUnivariateLastPointParameters = DetectUnivariateLastPointBodyParam & RequestParameters;
|
|
304
|
-
|
|
305
|
-
// @public
|
|
306
|
-
export interface DiagnosticsInfo {
|
|
307
|
-
modelState?: ModelState;
|
|
308
|
-
variableStates?: Array<VariableState>;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
// @public
|
|
312
|
-
export interface DiagnosticsInfoOutput {
|
|
313
|
-
modelState?: ModelStateOutput;
|
|
314
|
-
variableStates?: Array<VariableStateOutput>;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
// @public
|
|
318
|
-
export interface ErrorResponse {
|
|
319
|
-
code: string;
|
|
320
|
-
message: string;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
// @public
|
|
324
|
-
export interface ErrorResponseOutput {
|
|
325
|
-
code: string;
|
|
326
|
-
message: string;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
// @public
|
|
330
|
-
export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
|
|
331
|
-
|
|
332
|
-
// @public (undocumented)
|
|
333
|
-
export interface GetMultivariateBatchDetectionResult {
|
|
334
|
-
get(options?: GetMultivariateBatchDetectionResultParameters): StreamableMethod<GetMultivariateBatchDetectionResult200Response | GetMultivariateBatchDetectionResultDefaultResponse>;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
// @public
|
|
338
|
-
export interface GetMultivariateBatchDetectionResult200Response extends HttpResponse {
|
|
339
|
-
// (undocumented)
|
|
340
|
-
body: MultivariateDetectionResultOutput;
|
|
341
|
-
// (undocumented)
|
|
342
|
-
status: "200";
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
// @public (undocumented)
|
|
346
|
-
export interface GetMultivariateBatchDetectionResultDefaultHeaders {
|
|
347
|
-
"x-ms-error-code"?: string;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
// @public (undocumented)
|
|
351
|
-
export interface GetMultivariateBatchDetectionResultDefaultResponse extends HttpResponse {
|
|
352
|
-
// (undocumented)
|
|
353
|
-
body: ErrorResponseOutput;
|
|
354
|
-
// (undocumented)
|
|
355
|
-
headers: RawHttpHeaders & GetMultivariateBatchDetectionResultDefaultHeaders;
|
|
356
|
-
// (undocumented)
|
|
357
|
-
status: string;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
// @public (undocumented)
|
|
361
|
-
export type GetMultivariateBatchDetectionResultParameters = RequestParameters;
|
|
362
|
-
|
|
363
|
-
// @public
|
|
364
|
-
export interface GetMultivariateModel200Response extends HttpResponse {
|
|
365
|
-
// (undocumented)
|
|
366
|
-
body: AnomalyDetectionModelOutput;
|
|
367
|
-
// (undocumented)
|
|
368
|
-
status: "200";
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
// @public (undocumented)
|
|
372
|
-
export interface GetMultivariateModelDefaultHeaders {
|
|
373
|
-
"x-ms-error-code"?: string;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
// @public (undocumented)
|
|
377
|
-
export interface GetMultivariateModelDefaultResponse extends HttpResponse {
|
|
378
|
-
// (undocumented)
|
|
379
|
-
body: ErrorResponseOutput;
|
|
380
|
-
// (undocumented)
|
|
381
|
-
headers: RawHttpHeaders & GetMultivariateModelDefaultHeaders;
|
|
382
|
-
// (undocumented)
|
|
383
|
-
status: string;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
// @public (undocumented)
|
|
387
|
-
export type GetMultivariateModelParameters = RequestParameters;
|
|
388
|
-
|
|
389
|
-
// @public
|
|
390
|
-
export type GetPage<TPage> = (pageLink: string, maxPageSize?: number) => Promise<{
|
|
391
|
-
page: TPage;
|
|
392
|
-
nextPageLink?: string;
|
|
393
|
-
}>;
|
|
394
|
-
|
|
395
|
-
// @public (undocumented)
|
|
396
|
-
export function isUnexpected(response: DetectUnivariateEntireSeries200Response | DetectUnivariateEntireSeriesDefaultResponse): response is DetectUnivariateEntireSeriesDefaultResponse;
|
|
397
|
-
|
|
398
|
-
// @public (undocumented)
|
|
399
|
-
export function isUnexpected(response: DetectUnivariateLastPoint200Response | DetectUnivariateLastPointDefaultResponse): response is DetectUnivariateLastPointDefaultResponse;
|
|
400
|
-
|
|
401
|
-
// @public (undocumented)
|
|
402
|
-
export function isUnexpected(response: DetectUnivariateChangePoint200Response | DetectUnivariateChangePointDefaultResponse): response is DetectUnivariateChangePointDefaultResponse;
|
|
403
|
-
|
|
404
|
-
// @public (undocumented)
|
|
405
|
-
export function isUnexpected(response: GetMultivariateBatchDetectionResult200Response | GetMultivariateBatchDetectionResultDefaultResponse): response is GetMultivariateBatchDetectionResultDefaultResponse;
|
|
406
|
-
|
|
407
|
-
// @public (undocumented)
|
|
408
|
-
export function isUnexpected(response: TrainMultivariateModel201Response | TrainMultivariateModelDefaultResponse): response is TrainMultivariateModelDefaultResponse;
|
|
409
|
-
|
|
410
|
-
// @public (undocumented)
|
|
411
|
-
export function isUnexpected(response: ListMultivariateModels200Response | ListMultivariateModelsDefaultResponse): response is ListMultivariateModelsDefaultResponse;
|
|
412
|
-
|
|
413
|
-
// @public (undocumented)
|
|
414
|
-
export function isUnexpected(response: DeleteMultivariateModel204Response | DeleteMultivariateModelDefaultResponse): response is DeleteMultivariateModelDefaultResponse;
|
|
415
|
-
|
|
416
|
-
// @public (undocumented)
|
|
417
|
-
export function isUnexpected(response: GetMultivariateModel200Response | GetMultivariateModelDefaultResponse): response is GetMultivariateModelDefaultResponse;
|
|
418
|
-
|
|
419
|
-
// @public (undocumented)
|
|
420
|
-
export function isUnexpected(response: DetectMultivariateBatchAnomaly202Response | DetectMultivariateBatchAnomalyDefaultResponse): response is DetectMultivariateBatchAnomalyDefaultResponse;
|
|
421
|
-
|
|
422
|
-
// @public (undocumented)
|
|
423
|
-
export function isUnexpected(response: DetectMultivariateLastAnomaly200Response | DetectMultivariateLastAnomalyDefaultResponse): response is DetectMultivariateLastAnomalyDefaultResponse;
|
|
424
|
-
|
|
425
|
-
// @public
|
|
426
|
-
export interface ListMultivariateModels200Response extends HttpResponse {
|
|
427
|
-
// (undocumented)
|
|
428
|
-
body: ModelListOutput;
|
|
429
|
-
// (undocumented)
|
|
430
|
-
status: "200";
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
// @public (undocumented)
|
|
434
|
-
export interface ListMultivariateModelsDefaultHeaders {
|
|
435
|
-
"x-ms-error-code"?: string;
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
// @public (undocumented)
|
|
439
|
-
export interface ListMultivariateModelsDefaultResponse extends HttpResponse {
|
|
440
|
-
// (undocumented)
|
|
441
|
-
body: ErrorResponseOutput;
|
|
442
|
-
// (undocumented)
|
|
443
|
-
headers: RawHttpHeaders & ListMultivariateModelsDefaultHeaders;
|
|
444
|
-
// (undocumented)
|
|
445
|
-
status: string;
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
// @public (undocumented)
|
|
449
|
-
export type ListMultivariateModelsParameters = ListMultivariateModelsQueryParam & RequestParameters;
|
|
450
|
-
|
|
451
|
-
// @public (undocumented)
|
|
452
|
-
export interface ListMultivariateModelsQueryParam {
|
|
453
|
-
// (undocumented)
|
|
454
|
-
queryParameters?: ListMultivariateModelsQueryParamProperties;
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
// @public (undocumented)
|
|
458
|
-
export interface ListMultivariateModelsQueryParamProperties {
|
|
459
|
-
skip?: number;
|
|
460
|
-
top?: number;
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
// @public
|
|
464
|
-
export interface ModelInfo {
|
|
465
|
-
alignPolicy?: AlignPolicy;
|
|
466
|
-
dataSchema?: string;
|
|
467
|
-
dataSource: string;
|
|
468
|
-
diagnosticsInfo?: DiagnosticsInfo;
|
|
469
|
-
displayName?: string;
|
|
470
|
-
endTime: Date | string;
|
|
471
|
-
slidingWindow?: number;
|
|
472
|
-
startTime: Date | string;
|
|
473
|
-
status?: "CREATED" | "RUNNING" | "READY" | "FAILED";
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
// @public
|
|
477
|
-
export interface ModelInfoOutput {
|
|
478
|
-
alignPolicy?: AlignPolicyOutput;
|
|
479
|
-
dataSchema?: string;
|
|
480
|
-
dataSource: string;
|
|
481
|
-
diagnosticsInfo?: DiagnosticsInfoOutput;
|
|
482
|
-
displayName?: string;
|
|
483
|
-
endTime: string;
|
|
484
|
-
readonly errors?: Array<ErrorResponseOutput>;
|
|
485
|
-
slidingWindow?: number;
|
|
486
|
-
startTime: string;
|
|
487
|
-
status?: "CREATED" | "RUNNING" | "READY" | "FAILED";
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
// @public
|
|
491
|
-
export interface ModelListOutput {
|
|
492
|
-
currentCount: number;
|
|
493
|
-
maxCount: number;
|
|
494
|
-
models: Array<AnomalyDetectionModelOutput>;
|
|
495
|
-
nextLink?: string;
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
// @public
|
|
499
|
-
export interface ModelState {
|
|
500
|
-
epochIds?: number[];
|
|
501
|
-
latenciesInSeconds?: number[];
|
|
502
|
-
trainLosses?: number[];
|
|
503
|
-
validationLosses?: number[];
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
// @public
|
|
507
|
-
export interface ModelStateOutput {
|
|
508
|
-
epochIds?: number[];
|
|
509
|
-
latenciesInSeconds?: number[];
|
|
510
|
-
trainLosses?: number[];
|
|
511
|
-
validationLosses?: number[];
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
// @public
|
|
515
|
-
export interface MultivariateBatchDetectionOptions {
|
|
516
|
-
dataSource: string;
|
|
517
|
-
endTime: Date | string;
|
|
518
|
-
startTime: Date | string;
|
|
519
|
-
topContributorCount: number;
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
// @public
|
|
523
|
-
export interface MultivariateBatchDetectionOptionsOutput {
|
|
524
|
-
dataSource: string;
|
|
525
|
-
endTime: string;
|
|
526
|
-
startTime: string;
|
|
527
|
-
topContributorCount: number;
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
// @public
|
|
531
|
-
export interface MultivariateBatchDetectionResultSummaryOutput {
|
|
532
|
-
errors?: Array<ErrorResponseOutput>;
|
|
533
|
-
setupInfo: MultivariateBatchDetectionOptionsOutput;
|
|
534
|
-
status: "CREATED" | "RUNNING" | "READY" | "FAILED";
|
|
535
|
-
variableStates?: Array<VariableStateOutput>;
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
// @public
|
|
539
|
-
export interface MultivariateDetectionResultOutput {
|
|
540
|
-
resultId: string;
|
|
541
|
-
results: Array<AnomalyStateOutput>;
|
|
542
|
-
summary: MultivariateBatchDetectionResultSummaryOutput;
|
|
543
|
-
}
|
|
544
|
-
|
|
545
|
-
// @public
|
|
546
|
-
export interface MultivariateLastDetectionOptions {
|
|
547
|
-
topContributorCount: number;
|
|
548
|
-
variables: Array<VariableValues>;
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
// @public
|
|
552
|
-
export interface MultivariateLastDetectionResultOutput {
|
|
553
|
-
results?: Array<AnomalyStateOutput>;
|
|
554
|
-
variableStates?: Array<VariableStateOutput>;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
// @public
|
|
558
|
-
export function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
|
|
559
|
-
|
|
560
|
-
// @public
|
|
561
|
-
export type PaginateReturn<TResult> = TResult extends {
|
|
562
|
-
body: {
|
|
563
|
-
value?: infer TPage;
|
|
564
|
-
};
|
|
565
|
-
} | {
|
|
566
|
-
body: {
|
|
567
|
-
models?: infer TPage;
|
|
568
|
-
};
|
|
569
|
-
} ? GetArrayType<TPage> : Array<unknown>;
|
|
570
|
-
|
|
571
|
-
// @public
|
|
572
|
-
export interface PagingOptions<TResponse> {
|
|
573
|
-
customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
// @public (undocumented)
|
|
577
|
-
export interface Routes {
|
|
578
|
-
(path: "/timeseries/entire/detect"): DetectUnivariateEntireSeries;
|
|
579
|
-
(path: "/timeseries/last/detect"): DetectUnivariateLastPoint;
|
|
580
|
-
(path: "/timeseries/changepoint/detect"): DetectUnivariateChangePoint;
|
|
581
|
-
(path: "/multivariate/detect-batch/{resultId}", resultId: string): GetMultivariateBatchDetectionResult;
|
|
582
|
-
(path: "/multivariate/models"): TrainMultivariateModel;
|
|
583
|
-
(path: "/multivariate/models/{modelId}", modelId: string): DeleteMultivariateModel;
|
|
584
|
-
(path: "/multivariate/models/{modelId}:detect-batch", modelId: string): DetectMultivariateBatchAnomaly;
|
|
585
|
-
(path: "/multivariate/models/{modelId}:detect-last", modelId: string): DetectMultivariateLastAnomaly;
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
// @public
|
|
589
|
-
export interface TimeSeriesPoint {
|
|
590
|
-
timestamp?: Date | string;
|
|
591
|
-
value: number;
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
// @public (undocumented)
|
|
595
|
-
export interface TrainMultivariateModel {
|
|
596
|
-
get(options?: ListMultivariateModelsParameters): StreamableMethod<ListMultivariateModels200Response | ListMultivariateModelsDefaultResponse>;
|
|
597
|
-
post(options: TrainMultivariateModelParameters): StreamableMethod<TrainMultivariateModel201Response | TrainMultivariateModelDefaultResponse>;
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
// @public (undocumented)
|
|
601
|
-
export interface TrainMultivariateModel201Headers {
|
|
602
|
-
location: string;
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
// @public
|
|
606
|
-
export interface TrainMultivariateModel201Response extends HttpResponse {
|
|
607
|
-
// (undocumented)
|
|
608
|
-
body: AnomalyDetectionModelOutput;
|
|
609
|
-
// (undocumented)
|
|
610
|
-
headers: RawHttpHeaders & TrainMultivariateModel201Headers;
|
|
611
|
-
// (undocumented)
|
|
612
|
-
status: "201";
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
// @public (undocumented)
|
|
616
|
-
export interface TrainMultivariateModelBodyParam {
|
|
617
|
-
body: ModelInfo;
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
// @public (undocumented)
|
|
621
|
-
export interface TrainMultivariateModelDefaultHeaders {
|
|
622
|
-
"x-ms-error-code"?: string;
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
// @public (undocumented)
|
|
626
|
-
export interface TrainMultivariateModelDefaultResponse extends HttpResponse {
|
|
627
|
-
// (undocumented)
|
|
628
|
-
body: ErrorResponseOutput;
|
|
629
|
-
// (undocumented)
|
|
630
|
-
headers: RawHttpHeaders & TrainMultivariateModelDefaultHeaders;
|
|
631
|
-
// (undocumented)
|
|
632
|
-
status: string;
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
// @public (undocumented)
|
|
636
|
-
export type TrainMultivariateModelParameters = TrainMultivariateModelBodyParam & RequestParameters;
|
|
637
|
-
|
|
638
|
-
// @public
|
|
639
|
-
export interface UnivariateChangePointDetectionOptions {
|
|
640
|
-
customInterval?: number;
|
|
641
|
-
granularity: "yearly" | "monthly" | "weekly" | "daily" | "hourly" | "minutely" | "secondly" | "microsecond" | "none";
|
|
642
|
-
period?: number;
|
|
643
|
-
series: Array<TimeSeriesPoint>;
|
|
644
|
-
stableTrendWindow?: number;
|
|
645
|
-
threshold?: number;
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
// @public
|
|
649
|
-
export interface UnivariateChangePointDetectionResultOutput {
|
|
650
|
-
confidenceScores?: number[];
|
|
651
|
-
isChangePoint?: boolean[];
|
|
652
|
-
readonly period?: number;
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
// @public
|
|
656
|
-
export interface UnivariateDetectionOptions {
|
|
657
|
-
customInterval?: number;
|
|
658
|
-
granularity?: "yearly" | "monthly" | "weekly" | "daily" | "hourly" | "minutely" | "secondly" | "microsecond" | "none";
|
|
659
|
-
imputeFixedValue?: number;
|
|
660
|
-
imputeMode?: string;
|
|
661
|
-
maxAnomalyRatio?: number;
|
|
662
|
-
period?: number;
|
|
663
|
-
sensitivity?: number;
|
|
664
|
-
series: Array<TimeSeriesPoint>;
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
// @public
|
|
668
|
-
export interface UnivariateEntireDetectionResultOutput {
|
|
669
|
-
expectedValues: number[];
|
|
670
|
-
isAnomaly: boolean[];
|
|
671
|
-
isNegativeAnomaly: boolean[];
|
|
672
|
-
isPositiveAnomaly: boolean[];
|
|
673
|
-
lowerMargins: number[];
|
|
674
|
-
period: number;
|
|
675
|
-
severity?: number[];
|
|
676
|
-
upperMargins: number[];
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
// @public
|
|
680
|
-
export interface UnivariateLastDetectionResultOutput {
|
|
681
|
-
expectedValue: number;
|
|
682
|
-
isAnomaly: boolean;
|
|
683
|
-
isNegativeAnomaly: boolean;
|
|
684
|
-
isPositiveAnomaly: boolean;
|
|
685
|
-
lowerMargin: number;
|
|
686
|
-
period: number;
|
|
687
|
-
severity?: number;
|
|
688
|
-
suggestedWindow: number;
|
|
689
|
-
upperMargin: number;
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
// @public
|
|
693
|
-
export interface VariableState {
|
|
694
|
-
effectiveCount?: number;
|
|
695
|
-
filledNARatio?: number;
|
|
696
|
-
firstTimestamp?: Date | string;
|
|
697
|
-
lastTimestamp?: Date | string;
|
|
698
|
-
variable?: string;
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
// @public
|
|
702
|
-
export interface VariableStateOutput {
|
|
703
|
-
effectiveCount?: number;
|
|
704
|
-
filledNARatio?: number;
|
|
705
|
-
firstTimestamp?: string;
|
|
706
|
-
lastTimestamp?: string;
|
|
707
|
-
variable?: string;
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
// @public
|
|
711
|
-
export interface VariableValues {
|
|
712
|
-
timestamps: string[];
|
|
713
|
-
values: number[];
|
|
714
|
-
variable: string;
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
// (No @packageDocumentation comment for this package)
|
|
718
|
-
|
|
719
|
-
```
|
|
1
|
+
## API Report File for "@azure-rest/ai-anomaly-detector"
|
|
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 type { Client } from '@azure-rest/core-client';
|
|
8
|
+
import type { ClientOptions } from '@azure-rest/core-client';
|
|
9
|
+
import type { HttpResponse } from '@azure-rest/core-client';
|
|
10
|
+
import type { KeyCredential } from '@azure/core-auth';
|
|
11
|
+
import type { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
12
|
+
import type { PathUncheckedResponse } from '@azure-rest/core-client';
|
|
13
|
+
import type { RawHttpHeaders } from '@azure/core-rest-pipeline';
|
|
14
|
+
import type { RequestParameters } from '@azure-rest/core-client';
|
|
15
|
+
import type { StreamableMethod } from '@azure-rest/core-client';
|
|
16
|
+
|
|
17
|
+
// @public
|
|
18
|
+
export interface AlignPolicy {
|
|
19
|
+
alignMode?: "Inner" | "Outer";
|
|
20
|
+
fillNAMethod?: string;
|
|
21
|
+
paddingValue?: number;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// @public
|
|
25
|
+
export interface AlignPolicyOutput {
|
|
26
|
+
alignMode?: "Inner" | "Outer";
|
|
27
|
+
fillNAMethod?: string;
|
|
28
|
+
paddingValue?: number;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// @public
|
|
32
|
+
export interface AnomalyDetectionModelOutput {
|
|
33
|
+
createdTime: string;
|
|
34
|
+
lastUpdatedTime: string;
|
|
35
|
+
modelId: string;
|
|
36
|
+
modelInfo?: ModelInfoOutput;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// @public
|
|
40
|
+
export interface AnomalyDetectorErrorOutput {
|
|
41
|
+
code?: string;
|
|
42
|
+
message?: string;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// @public (undocumented)
|
|
46
|
+
export type AnomalyDetectorRestClient = Client & {
|
|
47
|
+
path: Routes;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
// @public (undocumented)
|
|
51
|
+
export interface AnomalyDetectorRestClientOptions extends ClientOptions {
|
|
52
|
+
// (undocumented)
|
|
53
|
+
ApiVersion?: string;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// @public
|
|
57
|
+
export interface AnomalyInterpretationOutput {
|
|
58
|
+
contributionScore?: number;
|
|
59
|
+
correlationChanges?: CorrelationChangesOutput;
|
|
60
|
+
variable?: string;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// @public
|
|
64
|
+
export interface AnomalyStateOutput {
|
|
65
|
+
errors?: Array<ErrorResponseOutput>;
|
|
66
|
+
timestamp: string;
|
|
67
|
+
value?: AnomalyValueOutput;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// @public
|
|
71
|
+
export interface AnomalyValueOutput {
|
|
72
|
+
interpretation?: Array<AnomalyInterpretationOutput>;
|
|
73
|
+
isAnomaly: boolean;
|
|
74
|
+
score: number;
|
|
75
|
+
severity: number;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
// @public
|
|
79
|
+
export interface CorrelationChangesOutput {
|
|
80
|
+
changedVariables?: string[];
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
// @public
|
|
84
|
+
function createClient(Endpoint: string, credentials: KeyCredential, options?: AnomalyDetectorRestClientOptions): AnomalyDetectorRestClient;
|
|
85
|
+
export default createClient;
|
|
86
|
+
|
|
87
|
+
// @public (undocumented)
|
|
88
|
+
export interface DeleteMultivariateModel {
|
|
89
|
+
delete(options?: DeleteMultivariateModelParameters): StreamableMethod<DeleteMultivariateModel204Response | DeleteMultivariateModelDefaultResponse>;
|
|
90
|
+
get(options?: GetMultivariateModelParameters): StreamableMethod<GetMultivariateModel200Response | GetMultivariateModelDefaultResponse>;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
// @public
|
|
94
|
+
export interface DeleteMultivariateModel204Response extends HttpResponse {
|
|
95
|
+
// (undocumented)
|
|
96
|
+
status: "204";
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
// @public (undocumented)
|
|
100
|
+
export interface DeleteMultivariateModelDefaultHeaders {
|
|
101
|
+
"x-ms-error-code"?: string;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
// @public (undocumented)
|
|
105
|
+
export interface DeleteMultivariateModelDefaultResponse extends HttpResponse {
|
|
106
|
+
// (undocumented)
|
|
107
|
+
body: ErrorResponseOutput;
|
|
108
|
+
// (undocumented)
|
|
109
|
+
headers: RawHttpHeaders & DeleteMultivariateModelDefaultHeaders;
|
|
110
|
+
// (undocumented)
|
|
111
|
+
status: string;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
// @public (undocumented)
|
|
115
|
+
export type DeleteMultivariateModelParameters = RequestParameters;
|
|
116
|
+
|
|
117
|
+
// @public (undocumented)
|
|
118
|
+
export interface DetectMultivariateBatchAnomaly {
|
|
119
|
+
post(options: DetectMultivariateBatchAnomalyParameters): StreamableMethod<DetectMultivariateBatchAnomaly202Response | DetectMultivariateBatchAnomalyDefaultResponse>;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// @public (undocumented)
|
|
123
|
+
export interface DetectMultivariateBatchAnomaly202Headers {
|
|
124
|
+
"operation-id": string;
|
|
125
|
+
"operation-location": string;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
// @public
|
|
129
|
+
export interface DetectMultivariateBatchAnomaly202Response extends HttpResponse {
|
|
130
|
+
// (undocumented)
|
|
131
|
+
body: MultivariateDetectionResultOutput;
|
|
132
|
+
// (undocumented)
|
|
133
|
+
headers: RawHttpHeaders & DetectMultivariateBatchAnomaly202Headers;
|
|
134
|
+
// (undocumented)
|
|
135
|
+
status: "202";
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
// @public (undocumented)
|
|
139
|
+
export interface DetectMultivariateBatchAnomalyBodyParam {
|
|
140
|
+
body: MultivariateBatchDetectionOptions;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
// @public (undocumented)
|
|
144
|
+
export interface DetectMultivariateBatchAnomalyDefaultHeaders {
|
|
145
|
+
"x-ms-error-code"?: string;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
// @public (undocumented)
|
|
149
|
+
export interface DetectMultivariateBatchAnomalyDefaultResponse extends HttpResponse {
|
|
150
|
+
// (undocumented)
|
|
151
|
+
body: ErrorResponseOutput;
|
|
152
|
+
// (undocumented)
|
|
153
|
+
headers: RawHttpHeaders & DetectMultivariateBatchAnomalyDefaultHeaders;
|
|
154
|
+
// (undocumented)
|
|
155
|
+
status: string;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
// @public (undocumented)
|
|
159
|
+
export type DetectMultivariateBatchAnomalyParameters = DetectMultivariateBatchAnomalyBodyParam & RequestParameters;
|
|
160
|
+
|
|
161
|
+
// @public (undocumented)
|
|
162
|
+
export interface DetectMultivariateLastAnomaly {
|
|
163
|
+
post(options: DetectMultivariateLastAnomalyParameters): StreamableMethod<DetectMultivariateLastAnomaly200Response | DetectMultivariateLastAnomalyDefaultResponse>;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
// @public
|
|
167
|
+
export interface DetectMultivariateLastAnomaly200Response extends HttpResponse {
|
|
168
|
+
// (undocumented)
|
|
169
|
+
body: MultivariateLastDetectionResultOutput;
|
|
170
|
+
// (undocumented)
|
|
171
|
+
status: "200";
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
// @public (undocumented)
|
|
175
|
+
export interface DetectMultivariateLastAnomalyBodyParam {
|
|
176
|
+
body: MultivariateLastDetectionOptions;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
// @public (undocumented)
|
|
180
|
+
export interface DetectMultivariateLastAnomalyDefaultHeaders {
|
|
181
|
+
"x-ms-error-code"?: string;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
// @public (undocumented)
|
|
185
|
+
export interface DetectMultivariateLastAnomalyDefaultResponse extends HttpResponse {
|
|
186
|
+
// (undocumented)
|
|
187
|
+
body: ErrorResponseOutput;
|
|
188
|
+
// (undocumented)
|
|
189
|
+
headers: RawHttpHeaders & DetectMultivariateLastAnomalyDefaultHeaders;
|
|
190
|
+
// (undocumented)
|
|
191
|
+
status: string;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
// @public (undocumented)
|
|
195
|
+
export type DetectMultivariateLastAnomalyParameters = DetectMultivariateLastAnomalyBodyParam & RequestParameters;
|
|
196
|
+
|
|
197
|
+
// @public (undocumented)
|
|
198
|
+
export interface DetectUnivariateChangePoint {
|
|
199
|
+
post(options: DetectUnivariateChangePointParameters): StreamableMethod<DetectUnivariateChangePoint200Response | DetectUnivariateChangePointDefaultResponse>;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
// @public
|
|
203
|
+
export interface DetectUnivariateChangePoint200Response extends HttpResponse {
|
|
204
|
+
// (undocumented)
|
|
205
|
+
body: UnivariateChangePointDetectionResultOutput;
|
|
206
|
+
// (undocumented)
|
|
207
|
+
status: "200";
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
// @public (undocumented)
|
|
211
|
+
export interface DetectUnivariateChangePointBodyParam {
|
|
212
|
+
body: UnivariateChangePointDetectionOptions;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
// @public (undocumented)
|
|
216
|
+
export interface DetectUnivariateChangePointDefaultHeaders {
|
|
217
|
+
"x-ms-error-code"?: string;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
// @public (undocumented)
|
|
221
|
+
export interface DetectUnivariateChangePointDefaultResponse extends HttpResponse {
|
|
222
|
+
// (undocumented)
|
|
223
|
+
body: AnomalyDetectorErrorOutput;
|
|
224
|
+
// (undocumented)
|
|
225
|
+
headers: RawHttpHeaders & DetectUnivariateChangePointDefaultHeaders;
|
|
226
|
+
// (undocumented)
|
|
227
|
+
status: string;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
// @public (undocumented)
|
|
231
|
+
export type DetectUnivariateChangePointParameters = DetectUnivariateChangePointBodyParam & RequestParameters;
|
|
232
|
+
|
|
233
|
+
// @public (undocumented)
|
|
234
|
+
export interface DetectUnivariateEntireSeries {
|
|
235
|
+
post(options: DetectUnivariateEntireSeriesParameters): StreamableMethod<DetectUnivariateEntireSeries200Response | DetectUnivariateEntireSeriesDefaultResponse>;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
// @public
|
|
239
|
+
export interface DetectUnivariateEntireSeries200Response extends HttpResponse {
|
|
240
|
+
// (undocumented)
|
|
241
|
+
body: UnivariateEntireDetectionResultOutput;
|
|
242
|
+
// (undocumented)
|
|
243
|
+
status: "200";
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
// @public (undocumented)
|
|
247
|
+
export interface DetectUnivariateEntireSeriesBodyParam {
|
|
248
|
+
body: UnivariateDetectionOptions;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
// @public (undocumented)
|
|
252
|
+
export interface DetectUnivariateEntireSeriesDefaultHeaders {
|
|
253
|
+
"x-ms-error-code"?: string;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
// @public (undocumented)
|
|
257
|
+
export interface DetectUnivariateEntireSeriesDefaultResponse extends HttpResponse {
|
|
258
|
+
// (undocumented)
|
|
259
|
+
body: AnomalyDetectorErrorOutput;
|
|
260
|
+
// (undocumented)
|
|
261
|
+
headers: RawHttpHeaders & DetectUnivariateEntireSeriesDefaultHeaders;
|
|
262
|
+
// (undocumented)
|
|
263
|
+
status: string;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
// @public (undocumented)
|
|
267
|
+
export type DetectUnivariateEntireSeriesParameters = DetectUnivariateEntireSeriesBodyParam & RequestParameters;
|
|
268
|
+
|
|
269
|
+
// @public (undocumented)
|
|
270
|
+
export interface DetectUnivariateLastPoint {
|
|
271
|
+
post(options: DetectUnivariateLastPointParameters): StreamableMethod<DetectUnivariateLastPoint200Response | DetectUnivariateLastPointDefaultResponse>;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
// @public
|
|
275
|
+
export interface DetectUnivariateLastPoint200Response extends HttpResponse {
|
|
276
|
+
// (undocumented)
|
|
277
|
+
body: UnivariateLastDetectionResultOutput;
|
|
278
|
+
// (undocumented)
|
|
279
|
+
status: "200";
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
// @public (undocumented)
|
|
283
|
+
export interface DetectUnivariateLastPointBodyParam {
|
|
284
|
+
body: UnivariateDetectionOptions;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
// @public (undocumented)
|
|
288
|
+
export interface DetectUnivariateLastPointDefaultHeaders {
|
|
289
|
+
"x-ms-error-code"?: string;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
// @public (undocumented)
|
|
293
|
+
export interface DetectUnivariateLastPointDefaultResponse extends HttpResponse {
|
|
294
|
+
// (undocumented)
|
|
295
|
+
body: AnomalyDetectorErrorOutput;
|
|
296
|
+
// (undocumented)
|
|
297
|
+
headers: RawHttpHeaders & DetectUnivariateLastPointDefaultHeaders;
|
|
298
|
+
// (undocumented)
|
|
299
|
+
status: string;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
// @public (undocumented)
|
|
303
|
+
export type DetectUnivariateLastPointParameters = DetectUnivariateLastPointBodyParam & RequestParameters;
|
|
304
|
+
|
|
305
|
+
// @public
|
|
306
|
+
export interface DiagnosticsInfo {
|
|
307
|
+
modelState?: ModelState;
|
|
308
|
+
variableStates?: Array<VariableState>;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
// @public
|
|
312
|
+
export interface DiagnosticsInfoOutput {
|
|
313
|
+
modelState?: ModelStateOutput;
|
|
314
|
+
variableStates?: Array<VariableStateOutput>;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
// @public
|
|
318
|
+
export interface ErrorResponse {
|
|
319
|
+
code: string;
|
|
320
|
+
message: string;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
// @public
|
|
324
|
+
export interface ErrorResponseOutput {
|
|
325
|
+
code: string;
|
|
326
|
+
message: string;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
// @public
|
|
330
|
+
export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
|
|
331
|
+
|
|
332
|
+
// @public (undocumented)
|
|
333
|
+
export interface GetMultivariateBatchDetectionResult {
|
|
334
|
+
get(options?: GetMultivariateBatchDetectionResultParameters): StreamableMethod<GetMultivariateBatchDetectionResult200Response | GetMultivariateBatchDetectionResultDefaultResponse>;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
// @public
|
|
338
|
+
export interface GetMultivariateBatchDetectionResult200Response extends HttpResponse {
|
|
339
|
+
// (undocumented)
|
|
340
|
+
body: MultivariateDetectionResultOutput;
|
|
341
|
+
// (undocumented)
|
|
342
|
+
status: "200";
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
// @public (undocumented)
|
|
346
|
+
export interface GetMultivariateBatchDetectionResultDefaultHeaders {
|
|
347
|
+
"x-ms-error-code"?: string;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
// @public (undocumented)
|
|
351
|
+
export interface GetMultivariateBatchDetectionResultDefaultResponse extends HttpResponse {
|
|
352
|
+
// (undocumented)
|
|
353
|
+
body: ErrorResponseOutput;
|
|
354
|
+
// (undocumented)
|
|
355
|
+
headers: RawHttpHeaders & GetMultivariateBatchDetectionResultDefaultHeaders;
|
|
356
|
+
// (undocumented)
|
|
357
|
+
status: string;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
// @public (undocumented)
|
|
361
|
+
export type GetMultivariateBatchDetectionResultParameters = RequestParameters;
|
|
362
|
+
|
|
363
|
+
// @public
|
|
364
|
+
export interface GetMultivariateModel200Response extends HttpResponse {
|
|
365
|
+
// (undocumented)
|
|
366
|
+
body: AnomalyDetectionModelOutput;
|
|
367
|
+
// (undocumented)
|
|
368
|
+
status: "200";
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
// @public (undocumented)
|
|
372
|
+
export interface GetMultivariateModelDefaultHeaders {
|
|
373
|
+
"x-ms-error-code"?: string;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
// @public (undocumented)
|
|
377
|
+
export interface GetMultivariateModelDefaultResponse extends HttpResponse {
|
|
378
|
+
// (undocumented)
|
|
379
|
+
body: ErrorResponseOutput;
|
|
380
|
+
// (undocumented)
|
|
381
|
+
headers: RawHttpHeaders & GetMultivariateModelDefaultHeaders;
|
|
382
|
+
// (undocumented)
|
|
383
|
+
status: string;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
// @public (undocumented)
|
|
387
|
+
export type GetMultivariateModelParameters = RequestParameters;
|
|
388
|
+
|
|
389
|
+
// @public
|
|
390
|
+
export type GetPage<TPage> = (pageLink: string, maxPageSize?: number) => Promise<{
|
|
391
|
+
page: TPage;
|
|
392
|
+
nextPageLink?: string;
|
|
393
|
+
}>;
|
|
394
|
+
|
|
395
|
+
// @public (undocumented)
|
|
396
|
+
export function isUnexpected(response: DetectUnivariateEntireSeries200Response | DetectUnivariateEntireSeriesDefaultResponse): response is DetectUnivariateEntireSeriesDefaultResponse;
|
|
397
|
+
|
|
398
|
+
// @public (undocumented)
|
|
399
|
+
export function isUnexpected(response: DetectUnivariateLastPoint200Response | DetectUnivariateLastPointDefaultResponse): response is DetectUnivariateLastPointDefaultResponse;
|
|
400
|
+
|
|
401
|
+
// @public (undocumented)
|
|
402
|
+
export function isUnexpected(response: DetectUnivariateChangePoint200Response | DetectUnivariateChangePointDefaultResponse): response is DetectUnivariateChangePointDefaultResponse;
|
|
403
|
+
|
|
404
|
+
// @public (undocumented)
|
|
405
|
+
export function isUnexpected(response: GetMultivariateBatchDetectionResult200Response | GetMultivariateBatchDetectionResultDefaultResponse): response is GetMultivariateBatchDetectionResultDefaultResponse;
|
|
406
|
+
|
|
407
|
+
// @public (undocumented)
|
|
408
|
+
export function isUnexpected(response: TrainMultivariateModel201Response | TrainMultivariateModelDefaultResponse): response is TrainMultivariateModelDefaultResponse;
|
|
409
|
+
|
|
410
|
+
// @public (undocumented)
|
|
411
|
+
export function isUnexpected(response: ListMultivariateModels200Response | ListMultivariateModelsDefaultResponse): response is ListMultivariateModelsDefaultResponse;
|
|
412
|
+
|
|
413
|
+
// @public (undocumented)
|
|
414
|
+
export function isUnexpected(response: DeleteMultivariateModel204Response | DeleteMultivariateModelDefaultResponse): response is DeleteMultivariateModelDefaultResponse;
|
|
415
|
+
|
|
416
|
+
// @public (undocumented)
|
|
417
|
+
export function isUnexpected(response: GetMultivariateModel200Response | GetMultivariateModelDefaultResponse): response is GetMultivariateModelDefaultResponse;
|
|
418
|
+
|
|
419
|
+
// @public (undocumented)
|
|
420
|
+
export function isUnexpected(response: DetectMultivariateBatchAnomaly202Response | DetectMultivariateBatchAnomalyDefaultResponse): response is DetectMultivariateBatchAnomalyDefaultResponse;
|
|
421
|
+
|
|
422
|
+
// @public (undocumented)
|
|
423
|
+
export function isUnexpected(response: DetectMultivariateLastAnomaly200Response | DetectMultivariateLastAnomalyDefaultResponse): response is DetectMultivariateLastAnomalyDefaultResponse;
|
|
424
|
+
|
|
425
|
+
// @public
|
|
426
|
+
export interface ListMultivariateModels200Response extends HttpResponse {
|
|
427
|
+
// (undocumented)
|
|
428
|
+
body: ModelListOutput;
|
|
429
|
+
// (undocumented)
|
|
430
|
+
status: "200";
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
// @public (undocumented)
|
|
434
|
+
export interface ListMultivariateModelsDefaultHeaders {
|
|
435
|
+
"x-ms-error-code"?: string;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
// @public (undocumented)
|
|
439
|
+
export interface ListMultivariateModelsDefaultResponse extends HttpResponse {
|
|
440
|
+
// (undocumented)
|
|
441
|
+
body: ErrorResponseOutput;
|
|
442
|
+
// (undocumented)
|
|
443
|
+
headers: RawHttpHeaders & ListMultivariateModelsDefaultHeaders;
|
|
444
|
+
// (undocumented)
|
|
445
|
+
status: string;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
// @public (undocumented)
|
|
449
|
+
export type ListMultivariateModelsParameters = ListMultivariateModelsQueryParam & RequestParameters;
|
|
450
|
+
|
|
451
|
+
// @public (undocumented)
|
|
452
|
+
export interface ListMultivariateModelsQueryParam {
|
|
453
|
+
// (undocumented)
|
|
454
|
+
queryParameters?: ListMultivariateModelsQueryParamProperties;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
// @public (undocumented)
|
|
458
|
+
export interface ListMultivariateModelsQueryParamProperties {
|
|
459
|
+
skip?: number;
|
|
460
|
+
top?: number;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
// @public
|
|
464
|
+
export interface ModelInfo {
|
|
465
|
+
alignPolicy?: AlignPolicy;
|
|
466
|
+
dataSchema?: string;
|
|
467
|
+
dataSource: string;
|
|
468
|
+
diagnosticsInfo?: DiagnosticsInfo;
|
|
469
|
+
displayName?: string;
|
|
470
|
+
endTime: Date | string;
|
|
471
|
+
slidingWindow?: number;
|
|
472
|
+
startTime: Date | string;
|
|
473
|
+
status?: "CREATED" | "RUNNING" | "READY" | "FAILED";
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
// @public
|
|
477
|
+
export interface ModelInfoOutput {
|
|
478
|
+
alignPolicy?: AlignPolicyOutput;
|
|
479
|
+
dataSchema?: string;
|
|
480
|
+
dataSource: string;
|
|
481
|
+
diagnosticsInfo?: DiagnosticsInfoOutput;
|
|
482
|
+
displayName?: string;
|
|
483
|
+
endTime: string;
|
|
484
|
+
readonly errors?: Array<ErrorResponseOutput>;
|
|
485
|
+
slidingWindow?: number;
|
|
486
|
+
startTime: string;
|
|
487
|
+
status?: "CREATED" | "RUNNING" | "READY" | "FAILED";
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
// @public
|
|
491
|
+
export interface ModelListOutput {
|
|
492
|
+
currentCount: number;
|
|
493
|
+
maxCount: number;
|
|
494
|
+
models: Array<AnomalyDetectionModelOutput>;
|
|
495
|
+
nextLink?: string;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
// @public
|
|
499
|
+
export interface ModelState {
|
|
500
|
+
epochIds?: number[];
|
|
501
|
+
latenciesInSeconds?: number[];
|
|
502
|
+
trainLosses?: number[];
|
|
503
|
+
validationLosses?: number[];
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
// @public
|
|
507
|
+
export interface ModelStateOutput {
|
|
508
|
+
epochIds?: number[];
|
|
509
|
+
latenciesInSeconds?: number[];
|
|
510
|
+
trainLosses?: number[];
|
|
511
|
+
validationLosses?: number[];
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
// @public
|
|
515
|
+
export interface MultivariateBatchDetectionOptions {
|
|
516
|
+
dataSource: string;
|
|
517
|
+
endTime: Date | string;
|
|
518
|
+
startTime: Date | string;
|
|
519
|
+
topContributorCount: number;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
// @public
|
|
523
|
+
export interface MultivariateBatchDetectionOptionsOutput {
|
|
524
|
+
dataSource: string;
|
|
525
|
+
endTime: string;
|
|
526
|
+
startTime: string;
|
|
527
|
+
topContributorCount: number;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
// @public
|
|
531
|
+
export interface MultivariateBatchDetectionResultSummaryOutput {
|
|
532
|
+
errors?: Array<ErrorResponseOutput>;
|
|
533
|
+
setupInfo: MultivariateBatchDetectionOptionsOutput;
|
|
534
|
+
status: "CREATED" | "RUNNING" | "READY" | "FAILED";
|
|
535
|
+
variableStates?: Array<VariableStateOutput>;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
// @public
|
|
539
|
+
export interface MultivariateDetectionResultOutput {
|
|
540
|
+
resultId: string;
|
|
541
|
+
results: Array<AnomalyStateOutput>;
|
|
542
|
+
summary: MultivariateBatchDetectionResultSummaryOutput;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
// @public
|
|
546
|
+
export interface MultivariateLastDetectionOptions {
|
|
547
|
+
topContributorCount: number;
|
|
548
|
+
variables: Array<VariableValues>;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
// @public
|
|
552
|
+
export interface MultivariateLastDetectionResultOutput {
|
|
553
|
+
results?: Array<AnomalyStateOutput>;
|
|
554
|
+
variableStates?: Array<VariableStateOutput>;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
// @public
|
|
558
|
+
export function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
|
|
559
|
+
|
|
560
|
+
// @public
|
|
561
|
+
export type PaginateReturn<TResult> = TResult extends {
|
|
562
|
+
body: {
|
|
563
|
+
value?: infer TPage;
|
|
564
|
+
};
|
|
565
|
+
} | {
|
|
566
|
+
body: {
|
|
567
|
+
models?: infer TPage;
|
|
568
|
+
};
|
|
569
|
+
} ? GetArrayType<TPage> : Array<unknown>;
|
|
570
|
+
|
|
571
|
+
// @public
|
|
572
|
+
export interface PagingOptions<TResponse> {
|
|
573
|
+
customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
// @public (undocumented)
|
|
577
|
+
export interface Routes {
|
|
578
|
+
(path: "/timeseries/entire/detect"): DetectUnivariateEntireSeries;
|
|
579
|
+
(path: "/timeseries/last/detect"): DetectUnivariateLastPoint;
|
|
580
|
+
(path: "/timeseries/changepoint/detect"): DetectUnivariateChangePoint;
|
|
581
|
+
(path: "/multivariate/detect-batch/{resultId}", resultId: string): GetMultivariateBatchDetectionResult;
|
|
582
|
+
(path: "/multivariate/models"): TrainMultivariateModel;
|
|
583
|
+
(path: "/multivariate/models/{modelId}", modelId: string): DeleteMultivariateModel;
|
|
584
|
+
(path: "/multivariate/models/{modelId}:detect-batch", modelId: string): DetectMultivariateBatchAnomaly;
|
|
585
|
+
(path: "/multivariate/models/{modelId}:detect-last", modelId: string): DetectMultivariateLastAnomaly;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
// @public
|
|
589
|
+
export interface TimeSeriesPoint {
|
|
590
|
+
timestamp?: Date | string;
|
|
591
|
+
value: number;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
// @public (undocumented)
|
|
595
|
+
export interface TrainMultivariateModel {
|
|
596
|
+
get(options?: ListMultivariateModelsParameters): StreamableMethod<ListMultivariateModels200Response | ListMultivariateModelsDefaultResponse>;
|
|
597
|
+
post(options: TrainMultivariateModelParameters): StreamableMethod<TrainMultivariateModel201Response | TrainMultivariateModelDefaultResponse>;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
// @public (undocumented)
|
|
601
|
+
export interface TrainMultivariateModel201Headers {
|
|
602
|
+
location: string;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
// @public
|
|
606
|
+
export interface TrainMultivariateModel201Response extends HttpResponse {
|
|
607
|
+
// (undocumented)
|
|
608
|
+
body: AnomalyDetectionModelOutput;
|
|
609
|
+
// (undocumented)
|
|
610
|
+
headers: RawHttpHeaders & TrainMultivariateModel201Headers;
|
|
611
|
+
// (undocumented)
|
|
612
|
+
status: "201";
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
// @public (undocumented)
|
|
616
|
+
export interface TrainMultivariateModelBodyParam {
|
|
617
|
+
body: ModelInfo;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
// @public (undocumented)
|
|
621
|
+
export interface TrainMultivariateModelDefaultHeaders {
|
|
622
|
+
"x-ms-error-code"?: string;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
// @public (undocumented)
|
|
626
|
+
export interface TrainMultivariateModelDefaultResponse extends HttpResponse {
|
|
627
|
+
// (undocumented)
|
|
628
|
+
body: ErrorResponseOutput;
|
|
629
|
+
// (undocumented)
|
|
630
|
+
headers: RawHttpHeaders & TrainMultivariateModelDefaultHeaders;
|
|
631
|
+
// (undocumented)
|
|
632
|
+
status: string;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
// @public (undocumented)
|
|
636
|
+
export type TrainMultivariateModelParameters = TrainMultivariateModelBodyParam & RequestParameters;
|
|
637
|
+
|
|
638
|
+
// @public
|
|
639
|
+
export interface UnivariateChangePointDetectionOptions {
|
|
640
|
+
customInterval?: number;
|
|
641
|
+
granularity: "yearly" | "monthly" | "weekly" | "daily" | "hourly" | "minutely" | "secondly" | "microsecond" | "none";
|
|
642
|
+
period?: number;
|
|
643
|
+
series: Array<TimeSeriesPoint>;
|
|
644
|
+
stableTrendWindow?: number;
|
|
645
|
+
threshold?: number;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
// @public
|
|
649
|
+
export interface UnivariateChangePointDetectionResultOutput {
|
|
650
|
+
confidenceScores?: number[];
|
|
651
|
+
isChangePoint?: boolean[];
|
|
652
|
+
readonly period?: number;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
// @public
|
|
656
|
+
export interface UnivariateDetectionOptions {
|
|
657
|
+
customInterval?: number;
|
|
658
|
+
granularity?: "yearly" | "monthly" | "weekly" | "daily" | "hourly" | "minutely" | "secondly" | "microsecond" | "none";
|
|
659
|
+
imputeFixedValue?: number;
|
|
660
|
+
imputeMode?: string;
|
|
661
|
+
maxAnomalyRatio?: number;
|
|
662
|
+
period?: number;
|
|
663
|
+
sensitivity?: number;
|
|
664
|
+
series: Array<TimeSeriesPoint>;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
// @public
|
|
668
|
+
export interface UnivariateEntireDetectionResultOutput {
|
|
669
|
+
expectedValues: number[];
|
|
670
|
+
isAnomaly: boolean[];
|
|
671
|
+
isNegativeAnomaly: boolean[];
|
|
672
|
+
isPositiveAnomaly: boolean[];
|
|
673
|
+
lowerMargins: number[];
|
|
674
|
+
period: number;
|
|
675
|
+
severity?: number[];
|
|
676
|
+
upperMargins: number[];
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
// @public
|
|
680
|
+
export interface UnivariateLastDetectionResultOutput {
|
|
681
|
+
expectedValue: number;
|
|
682
|
+
isAnomaly: boolean;
|
|
683
|
+
isNegativeAnomaly: boolean;
|
|
684
|
+
isPositiveAnomaly: boolean;
|
|
685
|
+
lowerMargin: number;
|
|
686
|
+
period: number;
|
|
687
|
+
severity?: number;
|
|
688
|
+
suggestedWindow: number;
|
|
689
|
+
upperMargin: number;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
// @public
|
|
693
|
+
export interface VariableState {
|
|
694
|
+
effectiveCount?: number;
|
|
695
|
+
filledNARatio?: number;
|
|
696
|
+
firstTimestamp?: Date | string;
|
|
697
|
+
lastTimestamp?: Date | string;
|
|
698
|
+
variable?: string;
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
// @public
|
|
702
|
+
export interface VariableStateOutput {
|
|
703
|
+
effectiveCount?: number;
|
|
704
|
+
filledNARatio?: number;
|
|
705
|
+
firstTimestamp?: string;
|
|
706
|
+
lastTimestamp?: string;
|
|
707
|
+
variable?: string;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
// @public
|
|
711
|
+
export interface VariableValues {
|
|
712
|
+
timestamps: string[];
|
|
713
|
+
values: number[];
|
|
714
|
+
variable: string;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
// (No @packageDocumentation comment for this package)
|
|
718
|
+
|
|
719
|
+
```
|