Skip to content

Commit

Permalink
Regenerate client from commit f687b8b of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Feb 15, 2022
1 parent 0810377 commit 04d3c9b
Show file tree
Hide file tree
Showing 7 changed files with 60 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.2",
"regenerated": "2022-02-15 12:44:11.380005",
"spec_repo_commit": "cdd703e"
"regenerated": "2022-02-15 22:38:30.828914",
"spec_repo_commit": "f687b8b"
},
"v2": {
"apigentools_version": "1.6.2",
"regenerated": "2022-02-15 12:44:11.397741",
"spec_repo_commit": "cdd703e"
"regenerated": "2022-02-15 22:38:30.848917",
"spec_repo_commit": "f687b8b"
}
}
}
20 changes: 20 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3515,6 +3515,7 @@ components:
- browser_usage
- container_usage
- custom_timeseries_usage
- estimated_indexed_logs_usage
- fargate_usage
- functions_usage
- indexed_logs_usage
Expand All @@ -3531,6 +3532,7 @@ components:
- BROWSER_USAGE
- CONTAINER_USAGE
- CUSTOM_TIMESERIES_USAGE
- ESTIMATED_INDEXED_LOGS_USAGE
- FARGATE_USAGE
- FUNCTIONS_USAGE
- INDEXED_LOGS_USAGE
Expand Down Expand Up @@ -6659,6 +6661,8 @@ components:
- container_percentage
- custom_timeseries_usage
- custom_timeseries_percentage
- estimated_indexed_logs_usage
- estimated_indexed_logs_percentage
- fargate_usage
- fargate_percentage
- functions_usage
Expand Down Expand Up @@ -6690,6 +6694,8 @@ components:
- CONTAINER_PERCENTAGE
- CUSTOM_TIMESERIES_USAGE
- CUSTOM_TIMESERIES_PERCENTAGE
- ESTIMATED_INDEXED_LOGS_USAGE
- ESTIMATED_INDEXED_LOGS_PERCENTAGE
- FARGATE_USAGE
- FARGATE_PERCENTAGE
- FUNCTIONS_USAGE
Expand Down Expand Up @@ -6752,6 +6758,16 @@ components:
description: The custom metrics usage by tag(s).
format: double
type: number
estimated_indexed_logs_percentage:
description: The percentage of estimated live indexed logs usage by tag(s).
This field is in private beta.
format: double
type: number
estimated_indexed_logs_usage:
description: The estimated live indexed logs usage by tag(s). This field
is in private beta.
format: double
type: number
fargate_percentage:
description: The percentage of Fargate usage by tags.
format: double
Expand Down Expand Up @@ -12843,6 +12859,8 @@ components:
- lambda_invocations_percentage
- lambda_usage
- lambda_percentage
- estimated_indexed_logs_usage
- estimated_indexed_logs_percentage
type: string
x-enum-varnames:
- API_PERCENTAGE
Expand All @@ -12867,6 +12885,8 @@ components:
- LAMBDA_INVOCATIONS_PERCENTAGE
- LAMBDA_USAGE
- LAMBDA_PERCENTAGE
- ESTIMATED_INDEXED_LOGS_USAGE
- ESTIMATED_INDEXED_LOGS_PERCENTAGE
UsageAttributionSupportedMetrics:
description: Supported fields for usage attribution requests (valid requests
contain one or more metrics, or `*` for all).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export type HourlyUsageAttributionUsageType =
| typeof BROWSER_USAGE
| typeof CONTAINER_USAGE
| typeof CUSTOM_TIMESERIES_USAGE
| typeof ESTIMATED_INDEXED_LOGS_USAGE
| typeof FARGATE_USAGE
| typeof FUNCTIONS_USAGE
| typeof INDEXED_LOGS_USAGE
Expand All @@ -28,6 +29,7 @@ export const APM_HOST_USAGE = "apm_host_usage";
export const BROWSER_USAGE = "browser_usage";
export const CONTAINER_USAGE = "container_usage";
export const CUSTOM_TIMESERIES_USAGE = "custom_timeseries_usage";
export const ESTIMATED_INDEXED_LOGS_USAGE = "estimated_indexed_logs_usage";
export const FARGATE_USAGE = "fargate_usage";
export const FUNCTIONS_USAGE = "functions_usage";
export const INDEXED_LOGS_USAGE = "indexed_logs_usage";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ export type MonthlyUsageAttributionSupportedMetrics =
| typeof CONTAINER_PERCENTAGE
| typeof CUSTOM_TIMESERIES_USAGE
| typeof CUSTOM_TIMESERIES_PERCENTAGE
| typeof ESTIMATED_INDEXED_LOGS_USAGE
| typeof ESTIMATED_INDEXED_LOGS_PERCENTAGE
| typeof FARGATE_USAGE
| typeof FARGATE_PERCENTAGE
| typeof FUNCTIONS_USAGE
Expand Down Expand Up @@ -48,6 +50,9 @@ export const CONTAINER_USAGE = "container_usage";
export const CONTAINER_PERCENTAGE = "container_percentage";
export const CUSTOM_TIMESERIES_USAGE = "custom_timeseries_usage";
export const CUSTOM_TIMESERIES_PERCENTAGE = "custom_timeseries_percentage";
export const ESTIMATED_INDEXED_LOGS_USAGE = "estimated_indexed_logs_usage";
export const ESTIMATED_INDEXED_LOGS_PERCENTAGE =
"estimated_indexed_logs_percentage";
export const FARGATE_USAGE = "fargate_usage";
export const FARGATE_PERCENTAGE = "fargate_percentage";
export const FUNCTIONS_USAGE = "functions_usage";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ export class MonthlyUsageAttributionValues {
* The custom metrics usage by tag(s).
*/
"customTimeseriesUsage"?: number;
/**
* The percentage of estimated live indexed logs usage by tag(s). This field is in private beta.
*/
"estimatedIndexedLogsPercentage"?: number;
/**
* The estimated live indexed logs usage by tag(s). This field is in private beta.
*/
"estimatedIndexedLogsUsage"?: number;
/**
* The percentage of Fargate usage by tags.
*/
Expand Down Expand Up @@ -187,6 +195,16 @@ export class MonthlyUsageAttributionValues {
type: "number",
format: "double",
},
estimatedIndexedLogsPercentage: {
baseName: "estimated_indexed_logs_percentage",
type: "number",
format: "double",
},
estimatedIndexedLogsUsage: {
baseName: "estimated_indexed_logs_usage",
type: "number",
format: "double",
},
fargatePercentage: {
baseName: "fargate_percentage",
type: "number",
Expand Down
5 changes: 5 additions & 0 deletions packages/datadog-api-client-v1/models/ObjectSerializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,7 @@ const enumsMap: { [key: string]: any[] } = {
"browser_usage",
"container_usage",
"custom_timeseries_usage",
"estimated_indexed_logs_usage",
"fargate_usage",
"functions_usage",
"indexed_logs_usage",
Expand Down Expand Up @@ -723,6 +724,8 @@ const enumsMap: { [key: string]: any[] } = {
"container_percentage",
"custom_timeseries_usage",
"custom_timeseries_percentage",
"estimated_indexed_logs_usage",
"estimated_indexed_logs_percentage",
"fargate_usage",
"fargate_percentage",
"functions_usage",
Expand Down Expand Up @@ -1008,6 +1011,8 @@ const enumsMap: { [key: string]: any[] } = {
"lambda_invocations_percentage",
"lambda_usage",
"lambda_percentage",
"estimated_indexed_logs_usage",
"estimated_indexed_logs_percentage",
],
UsageAttributionSupportedMetrics: [
"custom_timeseries_usage",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ export type UsageAttributionSort =
| typeof LAMBDA_INVOCATIONS_USAGE
| typeof LAMBDA_INVOCATIONS_PERCENTAGE
| typeof LAMBDA_USAGE
| typeof LAMBDA_PERCENTAGE;
| typeof LAMBDA_PERCENTAGE
| typeof ESTIMATED_INDEXED_LOGS_USAGE
| typeof ESTIMATED_INDEXED_LOGS_PERCENTAGE;
export const API_PERCENTAGE = "api_percentage";
export const SNMP_USAGE = "snmp_usage";
export const APM_HOST_USAGE = "apm_host_usage";
Expand All @@ -53,3 +55,6 @@ export const LAMBDA_INVOCATIONS_USAGE = "lambda_invocations_usage";
export const LAMBDA_INVOCATIONS_PERCENTAGE = "lambda_invocations_percentage";
export const LAMBDA_USAGE = "lambda_usage";
export const LAMBDA_PERCENTAGE = "lambda_percentage";
export const ESTIMATED_INDEXED_LOGS_USAGE = "estimated_indexed_logs_usage";
export const ESTIMATED_INDEXED_LOGS_PERCENTAGE =
"estimated_indexed_logs_percentage";

0 comments on commit 04d3c9b

Please sign in to comment.