@@ -78,7 +78,7 @@ export interface AnomalyDetectionConfiguration {
7878}
7979
8080// @public
81- export type AnomalyDetectorDirection = string ;
81+ export type AnomalyDetectorDirection = " Both " | " Down " | " Up " ;
8282
8383// @public
8484export interface AnomalyIncident {
@@ -99,7 +99,7 @@ export type AnomalySeverity = "Low" | "Medium" | "High";
9999export type AnomalyStatus = " Active" | " Resolved" ;
100100
101101// @public
102- export type AnomalyValue = string ;
102+ export type AnomalyValue = " AutoDetect " | " Anomaly " | " NotAnomaly " ;
103103
104104// @public
105105export type AzureApplicationInsightsDataFeedSource = {
@@ -210,13 +210,13 @@ export type DataFeed = {
210210} & DataFeedOptions ;
211211
212212// @public
213- export type DataFeedAccessMode = " Private" | " Public" | string ;
213+ export type DataFeedAccessMode = " Private" | " Public" ;
214214
215215// @public
216216export type DataFeedDescriptor = Omit <DataFeed , " id" | " metricIds" | " isAdmin" | " status" | " creator" | " createdOn" >;
217217
218218// @public
219- export type DataFeedDetailStatus = string ;
219+ export type DataFeedDetailStatus = " Active " | " Paused " ;
220220
221221// @public
222222export interface DataFeedDimension {
@@ -226,8 +226,7 @@ export interface DataFeedDimension {
226226
227227// @public
228228export type DataFeedGranularity = {
229- granularityType: " Yearly" | " Monthly" | " Weekly" | " Daily" | " Hourly" | " PerMinute" | " PerSecond" | string ;
230- customGranularityValue? : number ;
229+ granularityType: " Yearly" | " Monthly" | " Weekly" | " Daily" | " Hourly" | " PerMinute" | " PerSecond" ;
231230} | {
232231 granularityType: " Custom" ;
233232 customGranularityValue: number ;
@@ -258,8 +257,7 @@ export interface DataFeedMetric {
258257
259258// @public
260259export type DataFeedMissingDataPointFillSettings = {
261- fillType: " SmartFilling" | " PreviousValue" | " NoFilling" | string ;
262- customFillValue? : number ;
260+ fillType: " SmartFilling" | " PreviousValue" | " NoFilling" ;
263261} | {
264262 fillType: " CustomValue" ;
265263 customFillValue: number ;
@@ -289,7 +287,7 @@ export type DataFeedPatch = {
289287};
290288
291289// @public
292- export type DataFeedRollupMethod = " None" | " Sum" | " Max" | " Min" | " Avg" | " Count" | string ;
290+ export type DataFeedRollupMethod = " None" | " Sum" | " Max" | " Min" | " Avg" | " Count" ;
293291
294292// @public
295293export type DataFeedRollupSettings = {
@@ -329,7 +327,7 @@ export interface DataFeedsPageResponse extends Array<DataFeed> {
329327}
330328
331329// @public (undocumented)
332- export type DataFeedStatus = " Paused" | " Active" | string ;
330+ export type DataFeedStatus = " Paused" | " Active" ;
333331
334332// @public
335333export interface DataPointAnomaly {
@@ -344,7 +342,7 @@ export interface DataPointAnomaly {
344342}
345343
346344// @public
347- export type DataSourceType = string ;
345+ export type DataSourceType = " AzureApplicationInsights " | " AzureBlob " | " AzureCosmosDB " | " AzureDataExplorer " | " AzureDataLakeStorageGen2 " | " AzureTable " | " Elasticsearch " | " HttpRequest " | " InfluxDB " | " MongoDB " | " MySql " | " PostgreSql " | " SqlServer " ;
348346
349347// @public
350348export interface DetectionConditionsCommon {
@@ -355,7 +353,7 @@ export interface DetectionConditionsCommon {
355353}
356354
357355// @public
358- export type DetectionConditionsOperator = " AND" | " OR" | string ;
356+ export type DetectionConditionsOperator = " AND" | " OR" ;
359357
360358// @public
361359export interface DetectionConfigurationsPageResponse extends Array <AnomalyDetectionConfiguration > {
@@ -416,10 +414,10 @@ export interface EnrichmentStatus {
416414}
417415
418416// @public
419- export type FeedbackQueryTimeMode = string ;
417+ export type FeedbackQueryTimeMode = " MetricTimestamp " | " FeedbackCreatedTime " ;
420418
421419// @public
422- export type FeedbackType = string ;
420+ export type FeedbackType = " Anomaly " | " ChangePoint " | " Period " | " Comment " ;
423421
424422// @public
425423export type GetAnomalyAlertConfigurationResponse = AnomalyAlertConfiguration & {
@@ -592,123 +590,7 @@ export interface IngestionStatusPageResponse extends Array<IngestionStatus> {
592590}
593591
594592// @public
595- export type IngestionStatusType = string ;
596-
597- // @public
598- export const enum KnownAnomalyDetectorDirection {
599- // (undocumented)
600- Both = " Both" ,
601- // (undocumented)
602- Down = " Down" ,
603- // (undocumented)
604- Up = " Up"
605- }
606-
607- // @public
608- export const enum KnownAnomalyValue {
609- // (undocumented)
610- Anomaly = " Anomaly" ,
611- // (undocumented)
612- AutoDetect = " AutoDetect" ,
613- // (undocumented)
614- NotAnomaly = " NotAnomaly"
615- }
616-
617- // @public
618- export const enum KnownDataFeedDetailStatus {
619- // (undocumented)
620- Active = " Active" ,
621- // (undocumented)
622- Paused = " Paused"
623- }
624-
625- // @public
626- export const enum KnownDataSourceType {
627- // (undocumented)
628- AzureApplicationInsights = " AzureApplicationInsights" ,
629- // (undocumented)
630- AzureBlob = " AzureBlob" ,
631- // (undocumented)
632- AzureCosmosDB = " AzureCosmosDB" ,
633- // (undocumented)
634- AzureDataExplorer = " AzureDataExplorer" ,
635- // (undocumented)
636- AzureDataLakeStorageGen2 = " AzureDataLakeStorageGen2" ,
637- // (undocumented)
638- AzureTable = " AzureTable" ,
639- // (undocumented)
640- Elasticsearch = " Elasticsearch" ,
641- // (undocumented)
642- HttpRequest = " HttpRequest" ,
643- // (undocumented)
644- InfluxDB = " InfluxDB" ,
645- // (undocumented)
646- MongoDB = " MongoDB" ,
647- // (undocumented)
648- MySql = " MySql" ,
649- // (undocumented)
650- PostgreSql = " PostgreSql" ,
651- // (undocumented)
652- SqlServer = " SqlServer"
653- }
654-
655- // @public
656- export const enum KnownFeedbackQueryTimeMode {
657- // (undocumented)
658- FeedbackCreatedTime = " FeedbackCreatedTime" ,
659- // (undocumented)
660- MetricTimestamp = " MetricTimestamp"
661- }
662-
663- // @public
664- export const enum KnownFeedbackType {
665- // (undocumented)
666- Anomaly = " Anomaly" ,
667- // (undocumented)
668- ChangePoint = " ChangePoint" ,
669- // (undocumented)
670- Comment = " Comment" ,
671- // (undocumented)
672- Period = " Period"
673- }
674-
675- // @public
676- export const enum KnownIngestionStatusType {
677- // (undocumented)
678- Error = " Error" ,
679- // (undocumented)
680- Failed = " Failed" ,
681- // (undocumented)
682- NoData = " NoData" ,
683- // (undocumented)
684- NotStarted = " NotStarted" ,
685- // (undocumented)
686- Paused = " Paused" ,
687- // (undocumented)
688- Running = " Running" ,
689- // (undocumented)
690- Scheduled = " Scheduled" ,
691- // (undocumented)
692- Succeeded = " Succeeded"
693- }
694-
695- // @public
696- export const enum KnownSeverity {
697- // (undocumented)
698- High = " High" ,
699- // (undocumented)
700- Low = " Low" ,
701- // (undocumented)
702- Medium = " Medium"
703- }
704-
705- // @public
706- export const enum KnownSnoozeScope {
707- // (undocumented)
708- Metric = " Metric" ,
709- // (undocumented)
710- Series = " Series"
711- }
593+ export type IngestionStatusType = " NotStarted" | " Scheduled" | " Running" | " Succeeded" | " Failed" | " NoData" | " Error" | " Paused" ;
712594
713595// @public
714596export type ListAlertsOptions = {
@@ -811,7 +693,7 @@ export interface MetricAlertConfiguration {
811693}
812694
813695// @public
814- export type MetricAnomalyAlertConfigurationsOperator = " AND" | " OR" | " XOR" | string ;
696+ export type MetricAnomalyAlertConfigurationsOperator = " AND" | " OR" | " XOR" ;
815697
816698// @public
817699export type MetricAnomalyAlertScope = {
@@ -829,7 +711,7 @@ export type MetricAnomalyFeedback = {
829711 feedbackType: " Anomaly" ;
830712 startTime: Date ;
831713 endTime: Date ;
832- value: " AutoDetect" | " Anomaly" | " NotAnomaly" | string ;
714+ value: " AutoDetect" | " Anomaly" | " NotAnomaly" ;
833715 readonly anomalyDetectionConfigurationId? : string ;
834716 readonly anomalyDetectionConfigurationSnapshot? : AnomalyDetectionConfiguration ;
835717} & MetricFeedbackCommon ;
@@ -857,7 +739,7 @@ export type MetricBoundaryCondition = {
857739export type MetricChangePointFeedback = {
858740 feedbackType: " ChangePoint" ;
859741 startTime: Date ;
860- value: " AutoDetect" | " ChangePoint" | " NotChangePoint" | string ;
742+ value: " AutoDetect" | " ChangePoint" | " NotChangePoint" ;
861743} & MetricFeedbackCommon ;
862744
863745// @public
@@ -916,7 +798,7 @@ export type MetricFeedbackUnion = MetricAnomalyFeedback | MetricChangePointFeedb
916798// @public
917799export type MetricPeriodFeedback = {
918800 feedbackType: " Period" ;
919- periodType: " AutoDetect" | " AssignValue" | string ;
801+ periodType: " AutoDetect" | " AssignValue" ;
920802 periodValue: number ;
921803} & MetricFeedbackCommon ;
922804
@@ -1064,7 +946,7 @@ export type PostgreSqlDataFeedSource = {
1064946};
1065947
1066948// @public
1067- export type Severity = string ;
949+ export type Severity = " Low " | " Medium " | " High " ;
1068950
1069951// @public (undocumented)
1070952export interface SeverityCondition {
@@ -1087,7 +969,7 @@ export interface SmartDetectionCondition {
1087969}
1088970
1089971// @public
1090- export type SnoozeScope = string ;
972+ export type SnoozeScope = " Metric " | " Series " ;
1091973
1092974// @public
1093975export type SQLServerDataFeedSource = {
0 commit comments