Skip to content

Commit 0fd433a

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 96ad4d7 of spec repo
1 parent d538076 commit 0fd433a

13 files changed

Lines changed: 68 additions & 43 deletions

.generator/schemas/v1/openapi.yaml

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2782,6 +2782,7 @@ components:
27822782
peer_tags:
27832783
description: Tags to query for a specific downstream entity (peer.service, peer.db_instance, peer.s3, peer.s3.bucket, etc.).
27842784
items:
2785+
description: A tag identifying a specific downstream entity (e.g. peer.service, peer.db_instance).
27852786
example: "peer.service:my-service"
27862787
type: string
27872788
type: array
@@ -6647,6 +6648,7 @@ components:
66476648
sources:
66486649
additionalProperties:
66496650
items:
6651+
description: A fallback source attribute name.
66506652
type: string
66516653
type: array
66526654
description: Fallback sources used to populate value of field.
@@ -6695,6 +6697,7 @@ components:
66956697
description: Optional list of profiles to modify the schema.
66966698
example: ["security_control", "host"]
66976699
items:
6700+
description: A profile name that modifies the schema behavior.
66986701
type: string
66996702
type: array
67006703
schema_type:
@@ -7730,25 +7733,13 @@ components:
77307733
- L2NORM
77317734
- PERCENTILE
77327735
- STDDEV
7733-
MonitorFormulaAndFunctionCostDataSource:
7734-
description: Data source for cost queries.
7735-
enum:
7736-
- metrics
7737-
- cloud_cost
7738-
- datadog_usage
7739-
example: "cloud_cost"
7740-
type: string
7741-
x-enum-varnames:
7742-
- METRICS
7743-
- CLOUD_COST
7744-
- DATADOG_USAGE
77457736
MonitorFormulaAndFunctionCostQueryDefinition:
77467737
description: A formula and functions cost query.
77477738
properties:
77487739
aggregator:
77497740
$ref: "#/components/schemas/MonitorFormulaAndFunctionCostAggregator"
77507741
data_source:
7751-
$ref: "#/components/schemas/MonitorFormulaAndFunctionCostDataSource"
7742+
$ref: "#/components/schemas/MonitorFormulaAndFunctionMetricsDataSource"
77527743
name:
77537744
description: Name of the query for use in formulas.
77547745
example: "query1"
@@ -7808,6 +7799,7 @@ components:
78087799
description: Columns to group results by.
78097800
example: ["col1", "col2"]
78107801
items:
7802+
description: A column name to group results by.
78117803
type: string
78127804
type: array
78137805
model_type_override:
@@ -7827,6 +7819,7 @@ components:
78277819
description: Optional grouping fields for aggregation.
78287820
example: ["entity_id"]
78297821
items:
7822+
description: A field name to group results by.
78307823
type: string
78317824
type: array
78327825
measure:
@@ -11161,8 +11154,10 @@ components:
1116111154
description: Product Analytics audience account subquery.
1116211155
properties:
1116311156
name:
11157+
description: The name of the account subquery.
1116411158
type: string
1116511159
query:
11160+
description: The query string for the account subquery.
1116611161
type: string
1116711162
type: object
1116811163
ProductAnalyticsAudienceFilters:
@@ -11173,6 +11168,7 @@ components:
1117311168
$ref: "#/components/schemas/ProductAnalyticsAudienceAccountSubquery"
1117411169
type: array
1117511170
filter_condition:
11171+
description: An optional filter condition applied to the audience subquery.
1117611172
type: string
1117711173
segments:
1117811174
items:
@@ -11184,26 +11180,33 @@ components:
1118411180
type: array
1118511181
type: object
1118611182
ProductAnalyticsAudienceOccurrenceFilter:
11183+
description: Filter applied to occurrence counts when building a Product Analytics audience.
1118711184
properties:
1118811185
operator:
11186+
description: The comparison operator used for the occurrence filter (e.g. `gt`, `lt`, `eq`).
1118911187
type: string
1119011188
value:
11189+
description: The threshold value to compare occurrence counts against.
1119111190
type: string
1119211191
type: object
1119311192
ProductAnalyticsAudienceSegmentSubquery:
1119411193
description: Product Analytics audience segment subquery.
1119511194
properties:
1119611195
name:
11196+
description: The name of the segment subquery.
1119711197
type: string
1119811198
segment_id:
11199+
description: The unique identifier of the segment.
1119911200
type: string
1120011201
type: object
1120111202
ProductAnalyticsAudienceUserSubquery:
1120211203
description: Product Analytics audience user subquery.
1120311204
properties:
1120411205
name:
11206+
description: The name of the user subquery.
1120511207
type: string
1120611208
query:
11209+
description: The query string for the user subquery.
1120711210
type: string
1120811211
type: object
1120911212
QuerySortOrder:
@@ -11772,6 +11775,7 @@ components:
1177211775
- $ref: "#/components/schemas/SLOCountDefinitionWithBadEventsFormula"
1177311776
SLOCountDefinitionWithBadEventsFormula:
1177411777
additionalProperties: false
11778+
description: SLO count definition using a bad events formula alongside a good events formula.
1177511779
properties:
1177611780
bad_events_formula:
1177711781
$ref: "#/components/schemas/SLOFormula"
@@ -11798,6 +11802,7 @@ components:
1179811802
type: object
1179911803
SLOCountDefinitionWithTotalEventsFormula:
1180011804
additionalProperties: false
11805+
description: SLO count definition using a total events formula alongside a good events formula.
1180111806
properties:
1180211807
good_events_formula:
1180311808
$ref: "#/components/schemas/SLOFormula"
@@ -13004,6 +13009,7 @@ components:
1300413009
description: Fields to group by.
1300513010
example: ["source", "destination"]
1300613011
items:
13012+
description: A field name to group by.
1300713013
type: string
1300813014
type: array
1300913015
limit:
@@ -13626,6 +13632,7 @@ components:
1362613632
Always included in service level objective responses (but may be empty).
1362713633
example: ["env:prod", "app:core"]
1362813634
items:
13635+
description: A tag associated with the service level objective.
1362913636
type: string
1363013637
type: array
1363113638
created_at:
@@ -13649,6 +13656,7 @@ components:
1364913656
env_tags:
1365013657
description: Tags with the `env` tag key.
1365113658
items:
13659+
description: A tag with the `env` tag key.
1365213660
type: string
1365313661
type: array
1365413662
groups:
@@ -13693,6 +13701,7 @@ components:
1369313701
service_tags:
1369413702
description: Tags with the `service` tag key.
1369513703
items:
13704+
description: A tag with the `service` tag key.
1369613705
type: string
1369713706
type: array
1369813707
slo_type:
@@ -13702,6 +13711,7 @@ components:
1370213711
team_tags:
1370313712
description: Tags with the `team` tag key.
1370413713
items:
13714+
description: A tag with the `team` tag key.
1370513715
type: string
1370613716
type: array
1370713717
thresholds:
@@ -14712,6 +14722,7 @@ components:
1471214722
description: The tag values.
1471314723
example: ["env"]
1471414724
items:
14725+
description: A tag value string.
1471514726
minLength: 1
1471614727
type: string
1471714728
type: array
@@ -17989,6 +18000,7 @@ components:
1798918000
blockedRequestPatterns:
1799018001
description: Array of URL patterns to block.
1799118002
items:
18003+
description: A URL pattern to block during the Synthetic test.
1799218004
type: string
1799318005
type: array
1799418006
checkCertificateRevocation:

packages/datadog-api-client-v1/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,6 @@ export { MonitorFormulaAndFunctionAggregateQueryFilter } from "./models/MonitorF
681681
export { MonitorFormulaAndFunctionAggregateQueryJoinCondition } from "./models/MonitorFormulaAndFunctionAggregateQueryJoinCondition";
682682
export { MonitorFormulaAndFunctionAggregateQueryJoinType } from "./models/MonitorFormulaAndFunctionAggregateQueryJoinType";
683683
export { MonitorFormulaAndFunctionCostAggregator } from "./models/MonitorFormulaAndFunctionCostAggregator";
684-
export { MonitorFormulaAndFunctionCostDataSource } from "./models/MonitorFormulaAndFunctionCostDataSource";
685684
export { MonitorFormulaAndFunctionCostQueryDefinition } from "./models/MonitorFormulaAndFunctionCostQueryDefinition";
686685
export { MonitorFormulaAndFunctionDataQualityDataSource } from "./models/MonitorFormulaAndFunctionDataQualityDataSource";
687686
export { MonitorFormulaAndFunctionDataQualityModelTypeOverride } from "./models/MonitorFormulaAndFunctionDataQualityModelTypeOverride";

packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionCostDataSource.ts

Lines changed: 0 additions & 20 deletions
This file was deleted.

packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionCostQueryDefinition.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Copyright 2020-Present Datadog, Inc.
55
*/
66
import { MonitorFormulaAndFunctionCostAggregator } from "./MonitorFormulaAndFunctionCostAggregator";
7-
import { MonitorFormulaAndFunctionCostDataSource } from "./MonitorFormulaAndFunctionCostDataSource";
7+
import { MonitorFormulaAndFunctionMetricsDataSource } from "./MonitorFormulaAndFunctionMetricsDataSource";
88

99
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1010

@@ -17,9 +17,9 @@ export class MonitorFormulaAndFunctionCostQueryDefinition {
1717
*/
1818
"aggregator"?: MonitorFormulaAndFunctionCostAggregator;
1919
/**
20-
* Data source for cost queries.
20+
* Data source for metrics queries.
2121
*/
22-
"dataSource": MonitorFormulaAndFunctionCostDataSource;
22+
"dataSource": MonitorFormulaAndFunctionMetricsDataSource;
2323
/**
2424
* Name of the query for use in formulas.
2525
*/
@@ -51,7 +51,7 @@ export class MonitorFormulaAndFunctionCostQueryDefinition {
5151
},
5252
dataSource: {
5353
baseName: "data_source",
54-
type: "MonitorFormulaAndFunctionCostDataSource",
54+
type: "MonitorFormulaAndFunctionMetricsDataSource",
5555
required: true,
5656
},
5757
name: {

packages/datadog-api-client-v1/models/ObjectSerializer.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,11 +1095,6 @@ const enumsMap: { [key: string]: any[] } = {
10951095
"percentile",
10961096
"stddev",
10971097
],
1098-
MonitorFormulaAndFunctionCostDataSource: [
1099-
"metrics",
1100-
"cloud_cost",
1101-
"datadog_usage",
1102-
],
11031098
MonitorFormulaAndFunctionDataQualityDataSource: ["data_quality_metrics"],
11041099
MonitorFormulaAndFunctionDataQualityModelTypeOverride: [
11051100
"freshness",

packages/datadog-api-client-v1/models/ProductAnalyticsAudienceAccountSubquery.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1010
* Product Analytics audience account subquery.
1111
*/
1212
export class ProductAnalyticsAudienceAccountSubquery {
13+
/**
14+
* The name of the account subquery.
15+
*/
1316
"name"?: string;
17+
/**
18+
* The query string for the account subquery.
19+
*/
1420
"query"?: string;
1521

1622
/**

packages/datadog-api-client-v1/models/ProductAnalyticsAudienceFilters.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1414
*/
1515
export class ProductAnalyticsAudienceFilters {
1616
"accounts"?: Array<ProductAnalyticsAudienceAccountSubquery>;
17+
/**
18+
* An optional filter condition applied to the audience subquery.
19+
*/
1720
"filterCondition"?: string;
1821
"segments"?: Array<ProductAnalyticsAudienceSegmentSubquery>;
1922
"users"?: Array<ProductAnalyticsAudienceUserSubquery>;

packages/datadog-api-client-v1/models/ProductAnalyticsAudienceOccurrenceFilter.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,17 @@
66

77
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
88

9+
/**
10+
* Filter applied to occurrence counts when building a Product Analytics audience.
11+
*/
912
export class ProductAnalyticsAudienceOccurrenceFilter {
13+
/**
14+
* The comparison operator used for the occurrence filter (e.g. `gt`, `lt`, `eq`).
15+
*/
1016
"operator"?: string;
17+
/**
18+
* The threshold value to compare occurrence counts against.
19+
*/
1120
"value"?: string;
1221

1322
/**

packages/datadog-api-client-v1/models/ProductAnalyticsAudienceSegmentSubquery.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1010
* Product Analytics audience segment subquery.
1111
*/
1212
export class ProductAnalyticsAudienceSegmentSubquery {
13+
/**
14+
* The name of the segment subquery.
15+
*/
1316
"name"?: string;
17+
/**
18+
* The unique identifier of the segment.
19+
*/
1420
"segmentId"?: string;
1521

1622
/**

packages/datadog-api-client-v1/models/ProductAnalyticsAudienceUserSubquery.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1010
* Product Analytics audience user subquery.
1111
*/
1212
export class ProductAnalyticsAudienceUserSubquery {
13+
/**
14+
* The name of the user subquery.
15+
*/
1316
"name"?: string;
17+
/**
18+
* The query string for the user subquery.
19+
*/
1420
"query"?: string;
1521

1622
/**

0 commit comments

Comments
 (0)