File tree Expand file tree Collapse file tree 5 files changed +15
-5
lines changed
examples/v2/security-monitoring
packages/datadog-api-client-v1/models Expand file tree Collapse file tree 5 files changed +15
-5
lines changed Original file line number Diff line number Diff line change 4
4
"spec_versions": {
5
5
"v1": {
6
6
"apigentools_version": "1.6.6",
7
- "regenerated": "2024-11-08 19:36:35.931793 ",
8
- "spec_repo_commit": "ae3b5463 "
7
+ "regenerated": "2024-11-11 17:25:16.106068 ",
8
+ "spec_repo_commit": "9de1804a "
9
9
},
10
10
"v2": {
11
11
"apigentools_version": "1.6.6",
12
- "regenerated": "2024-11-08 19:36:35.950628 ",
13
- "spec_repo_commit": "ae3b5463 "
12
+ "regenerated": "2024-11-11 17:25:16.125298 ",
13
+ "spec_repo_commit": "9de1804a "
14
14
}
15
15
}
16
16
}
Original file line number Diff line number Diff line change @@ -3040,6 +3040,8 @@ components:
3040
3040
enum:
3041
3041
- good_events
3042
3042
- bad_events
3043
+ - good_minutes
3044
+ - bad_minutes
3043
3045
- slo_status
3044
3046
- error_budget_remaining
3045
3047
- burn_rate
@@ -3049,6 +3051,8 @@ components:
3049
3051
x-enum-varnames:
3050
3052
- GOOD_EVENTS
3051
3053
- BAD_EVENTS
3054
+ - GOOD_MINUTES
3055
+ - BAD_MINUTES
3052
3056
- SLO_STATUS
3053
3057
- ERROR_BUDGET_REMAINING
3054
3058
- BURN_RATE
Original file line number Diff line number Diff line change 5
5
import { client , v2 } from "@datadog/datadog-api-client" ;
6
6
7
7
const configuration = client . createConfiguration ( ) ;
8
- configuration . unstableOperations [ "v2.runHistoricalJob" ] = true ;
9
8
configuration . unstableOperations [ "v2.getHistoricalJob" ] = true ;
9
+ configuration . unstableOperations [ "v2.runHistoricalJob" ] = true ;
10
10
const apiInstance = new v2 . SecurityMonitoringApi ( configuration ) ;
11
11
12
12
// there is a valid "historical_job" in the system
Original file line number Diff line number Diff line change @@ -13,13 +13,17 @@ import { UnparsedObject } from "../../datadog-api-client-common/util";
13
13
export type FormulaAndFunctionSLOMeasure =
14
14
| typeof GOOD_EVENTS
15
15
| typeof BAD_EVENTS
16
+ | typeof GOOD_MINUTES
17
+ | typeof BAD_MINUTES
16
18
| typeof SLO_STATUS
17
19
| typeof ERROR_BUDGET_REMAINING
18
20
| typeof BURN_RATE
19
21
| typeof ERROR_BUDGET_BURNDOWN
20
22
| UnparsedObject ;
21
23
export const GOOD_EVENTS = "good_events" ;
22
24
export const BAD_EVENTS = "bad_events" ;
25
+ export const GOOD_MINUTES = "good_minutes" ;
26
+ export const BAD_MINUTES = "bad_minutes" ;
23
27
export const SLO_STATUS = "slo_status" ;
24
28
export const ERROR_BUDGET_REMAINING = "error_budget_remaining" ;
25
29
export const BURN_RATE = "burn_rate" ;
Original file line number Diff line number Diff line change @@ -776,6 +776,8 @@ const enumsMap: { [key: string]: any[] } = {
776
776
FormulaAndFunctionSLOMeasure : [
777
777
"good_events" ,
778
778
"bad_events" ,
779
+ "good_minutes" ,
780
+ "bad_minutes" ,
779
781
"slo_status" ,
780
782
"error_budget_remaining" ,
781
783
"burn_rate" ,
You can’t perform that action at this time.
0 commit comments