From 388d68532f93309c0e1cf3d4471f9349389804e1 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 15 Feb 2022 22:27:31 +0000 Subject: [PATCH] Regenerate client from commit 6ed7345 of spec repo --- .apigentools-info | 8 +- .generator/schemas/v1/openapi.yaml | 20 +++ .../docs/HourlyUsageAttributionUsageType.md | 2 + ...MonthlyUsageAttributionSupportedMetrics.md | 4 + .../docs/MonthlyUsageAttributionValues.md | 112 +++++++++++---- api/v1/datadog/docs/UsageAttributionSort.md | 4 + ...del_hourly_usage_attribution_usage_type.go | 30 ++-- ...hly_usage_attribution_supported_metrics.go | 62 ++++---- .../model_monthly_usage_attribution_values.go | 134 ++++++++++++++---- .../datadog/model_usage_attribution_sort.go | 48 ++++--- 10 files changed, 297 insertions(+), 127 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 5332648367f..2da9d9e715b 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.2", - "regenerated": "2022-02-15 12:44:11.413205", - "spec_repo_commit": "cdd703e" + "regenerated": "2022-02-15 22:25:52.658571", + "spec_repo_commit": "6ed7345" }, "v2": { "apigentools_version": "1.6.2", - "regenerated": "2022-02-15 12:44:11.425089", - "spec_repo_commit": "cdd703e" + "regenerated": "2022-02-15 22:25:52.673577", + "spec_repo_commit": "6ed7345" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 2fee07a50c5..e3dfe60f645 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -3515,6 +3515,7 @@ components: - browser_usage - container_usage - custom_timeseries_usage + - estimated_indexed_logs_usage - fargate_usage - functions_usage - indexed_logs_usage @@ -3531,6 +3532,7 @@ components: - BROWSER_USAGE - CONTAINER_USAGE - CUSTOM_TIMESERIES_USAGE + - ESTIMATED_INDEXED_LOGS_USAGE - FARGATE_USAGE - FUNCTIONS_USAGE - INDEXED_LOGS_USAGE @@ -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 @@ -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 @@ -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). + Note this field is in private beta. + format: double + type: number + estimated_indexed_logs_usage: + description: The estimated live indexed logs usage by tag(s). Note this + field is in private beta. + format: double + type: number fargate_percentage: description: The percentage of Fargate usage by tags. format: double @@ -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 @@ -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). diff --git a/api/v1/datadog/docs/HourlyUsageAttributionUsageType.md b/api/v1/datadog/docs/HourlyUsageAttributionUsageType.md index 15b1ec88ed2..c08bf38f7c8 100644 --- a/api/v1/datadog/docs/HourlyUsageAttributionUsageType.md +++ b/api/v1/datadog/docs/HourlyUsageAttributionUsageType.md @@ -12,6 +12,8 @@ - `CUSTOM_TIMESERIES_USAGE` (value: `"custom_timeseries_usage"`) +- `ESTIMATED_INDEXED_LOGS_USAGE` (value: `"estimated_indexed_logs_usage"`) + - `FARGATE_USAGE` (value: `"fargate_usage"`) - `FUNCTIONS_USAGE` (value: `"functions_usage"`) diff --git a/api/v1/datadog/docs/MonthlyUsageAttributionSupportedMetrics.md b/api/v1/datadog/docs/MonthlyUsageAttributionSupportedMetrics.md index bd7e8ed93c4..ac8b45ee656 100644 --- a/api/v1/datadog/docs/MonthlyUsageAttributionSupportedMetrics.md +++ b/api/v1/datadog/docs/MonthlyUsageAttributionSupportedMetrics.md @@ -22,6 +22,10 @@ - `CUSTOM_TIMESERIES_PERCENTAGE` (value: `"custom_timeseries_percentage"`) +- `ESTIMATED_INDEXED_LOGS_USAGE` (value: `"estimated_indexed_logs_usage"`) + +- `ESTIMATED_INDEXED_LOGS_PERCENTAGE` (value: `"estimated_indexed_logs_percentage"`) + - `FARGATE_USAGE` (value: `"fargate_usage"`) - `FARGATE_PERCENTAGE` (value: `"fargate_percentage"`) diff --git a/api/v1/datadog/docs/MonthlyUsageAttributionValues.md b/api/v1/datadog/docs/MonthlyUsageAttributionValues.md index 0c8ee498f7d..e393e81720b 100644 --- a/api/v1/datadog/docs/MonthlyUsageAttributionValues.md +++ b/api/v1/datadog/docs/MonthlyUsageAttributionValues.md @@ -2,36 +2,38 @@ ## Properties -| Name | Type | Description | Notes | -| ------------------------------- | ---------------------- | --------------------------------------------------------- | ---------- | -| **ApiPercentage** | Pointer to **float64** | The percentage of synthetic API test usage by tag(s). | [optional] | -| **ApiUsage** | Pointer to **float64** | The synthetic API test usage by tag(s). | [optional] | -| **ApmHostPercentage** | Pointer to **float64** | The percentage of APM host usage by tag(s). | [optional] | -| **ApmHostUsage** | Pointer to **float64** | The APM host usage by tag(s). | [optional] | -| **BrowserPercentage** | Pointer to **float64** | The percentage of synthetic browser test usage by tag(s). | [optional] | -| **BrowserUsage** | Pointer to **float64** | The synthetic browser test usage by tag(s). | [optional] | -| **ContainerPercentage** | Pointer to **float64** | The percentage of container usage by tag(s). | [optional] | -| **ContainerUsage** | Pointer to **float64** | The container usage by tag(s). | [optional] | -| **CustomTimeseriesPercentage** | Pointer to **float64** | The percentage of custom metrics usage by tag(s). | [optional] | -| **CustomTimeseriesUsage** | Pointer to **float64** | The custom metrics usage by tag(s). | [optional] | -| **FargatePercentage** | Pointer to **float64** | The percentage of Fargate usage by tags. | [optional] | -| **FargateUsage** | Pointer to **float64** | The Fargate usage by tags. | [optional] | -| **FunctionsPercentage** | Pointer to **float64** | The percentage of Lambda function usage by tag(s). | [optional] | -| **FunctionsUsage** | Pointer to **float64** | The Lambda function usage by tag(s). | [optional] | -| **IndexedLogsPercentage** | Pointer to **float64** | The percentage of indexed logs usage by tags. | [optional] | -| **IndexedLogsUsage** | Pointer to **float64** | The indexed logs usage by tags. | [optional] | -| **InfraHostPercentage** | Pointer to **float64** | The percentage of infrastructure host usage by tag(s). | [optional] | -| **InfraHostUsage** | Pointer to **float64** | The infrastructure host usage by tag(s). | [optional] | -| **InvocationsPercentage** | Pointer to **float64** | The percentage of Lambda invocation usage by tag(s). | [optional] | -| **InvocationsUsage** | Pointer to **float64** | The Lambda invocation usage by tag(s). | [optional] | -| **NpmHostPercentage** | Pointer to **float64** | The percentage of network host usage by tag(s). | [optional] | -| **NpmHostUsage** | Pointer to **float64** | The network host usage by tag(s). | [optional] | -| **ProfiledContainerPercentage** | Pointer to **float64** | The percentage of profiled container usage by tag(s). | [optional] | -| **ProfiledContainerUsage** | Pointer to **float64** | The profiled container usage by tag(s). | [optional] | -| **ProfiledHostPercentage** | Pointer to **float64** | The percentage of profiled hosts usage by tag(s). | [optional] | -| **ProfiledHostUsage** | Pointer to **float64** | The profiled hosts usage by tag(s). | [optional] | -| **SnmpPercentage** | Pointer to **float64** | The percentage of network device usage by tag(s). | [optional] | -| **SnmpUsage** | Pointer to **float64** | The network device usage by tag(s). | [optional] | +| Name | Type | Description | Notes | +| ---------------------------------- | ---------------------- | -------------------------------------------------------------------------------------------------- | ---------- | +| **ApiPercentage** | Pointer to **float64** | The percentage of synthetic API test usage by tag(s). | [optional] | +| **ApiUsage** | Pointer to **float64** | The synthetic API test usage by tag(s). | [optional] | +| **ApmHostPercentage** | Pointer to **float64** | The percentage of APM host usage by tag(s). | [optional] | +| **ApmHostUsage** | Pointer to **float64** | The APM host usage by tag(s). | [optional] | +| **BrowserPercentage** | Pointer to **float64** | The percentage of synthetic browser test usage by tag(s). | [optional] | +| **BrowserUsage** | Pointer to **float64** | The synthetic browser test usage by tag(s). | [optional] | +| **ContainerPercentage** | Pointer to **float64** | The percentage of container usage by tag(s). | [optional] | +| **ContainerUsage** | Pointer to **float64** | The container usage by tag(s). | [optional] | +| **CustomTimeseriesPercentage** | Pointer to **float64** | The percentage of custom metrics usage by tag(s). | [optional] | +| **CustomTimeseriesUsage** | Pointer to **float64** | The custom metrics usage by tag(s). | [optional] | +| **EstimatedIndexedLogsPercentage** | Pointer to **float64** | The percentage of estimated live indexed logs usage by tag(s). Note this field is in private beta. | [optional] | +| **EstimatedIndexedLogsUsage** | Pointer to **float64** | The estimated live indexed logs usage by tag(s). Note this field is in private beta. | [optional] | +| **FargatePercentage** | Pointer to **float64** | The percentage of Fargate usage by tags. | [optional] | +| **FargateUsage** | Pointer to **float64** | The Fargate usage by tags. | [optional] | +| **FunctionsPercentage** | Pointer to **float64** | The percentage of Lambda function usage by tag(s). | [optional] | +| **FunctionsUsage** | Pointer to **float64** | The Lambda function usage by tag(s). | [optional] | +| **IndexedLogsPercentage** | Pointer to **float64** | The percentage of indexed logs usage by tags. | [optional] | +| **IndexedLogsUsage** | Pointer to **float64** | The indexed logs usage by tags. | [optional] | +| **InfraHostPercentage** | Pointer to **float64** | The percentage of infrastructure host usage by tag(s). | [optional] | +| **InfraHostUsage** | Pointer to **float64** | The infrastructure host usage by tag(s). | [optional] | +| **InvocationsPercentage** | Pointer to **float64** | The percentage of Lambda invocation usage by tag(s). | [optional] | +| **InvocationsUsage** | Pointer to **float64** | The Lambda invocation usage by tag(s). | [optional] | +| **NpmHostPercentage** | Pointer to **float64** | The percentage of network host usage by tag(s). | [optional] | +| **NpmHostUsage** | Pointer to **float64** | The network host usage by tag(s). | [optional] | +| **ProfiledContainerPercentage** | Pointer to **float64** | The percentage of profiled container usage by tag(s). | [optional] | +| **ProfiledContainerUsage** | Pointer to **float64** | The profiled container usage by tag(s). | [optional] | +| **ProfiledHostPercentage** | Pointer to **float64** | The percentage of profiled hosts usage by tag(s). | [optional] | +| **ProfiledHostUsage** | Pointer to **float64** | The profiled hosts usage by tag(s). | [optional] | +| **SnmpPercentage** | Pointer to **float64** | The percentage of network device usage by tag(s). | [optional] | +| **SnmpUsage** | Pointer to **float64** | The network device usage by tag(s). | [optional] | ## Methods @@ -302,6 +304,56 @@ SetCustomTimeseriesUsage sets CustomTimeseriesUsage field to given value. HasCustomTimeseriesUsage returns a boolean if a field has been set. +### GetEstimatedIndexedLogsPercentage + +`func (o *MonthlyUsageAttributionValues) GetEstimatedIndexedLogsPercentage() float64` + +GetEstimatedIndexedLogsPercentage returns the EstimatedIndexedLogsPercentage field if non-nil, zero value otherwise. + +### GetEstimatedIndexedLogsPercentageOk + +`func (o *MonthlyUsageAttributionValues) GetEstimatedIndexedLogsPercentageOk() (*float64, bool)` + +GetEstimatedIndexedLogsPercentageOk returns a tuple with the EstimatedIndexedLogsPercentage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEstimatedIndexedLogsPercentage + +`func (o *MonthlyUsageAttributionValues) SetEstimatedIndexedLogsPercentage(v float64)` + +SetEstimatedIndexedLogsPercentage sets EstimatedIndexedLogsPercentage field to given value. + +### HasEstimatedIndexedLogsPercentage + +`func (o *MonthlyUsageAttributionValues) HasEstimatedIndexedLogsPercentage() bool` + +HasEstimatedIndexedLogsPercentage returns a boolean if a field has been set. + +### GetEstimatedIndexedLogsUsage + +`func (o *MonthlyUsageAttributionValues) GetEstimatedIndexedLogsUsage() float64` + +GetEstimatedIndexedLogsUsage returns the EstimatedIndexedLogsUsage field if non-nil, zero value otherwise. + +### GetEstimatedIndexedLogsUsageOk + +`func (o *MonthlyUsageAttributionValues) GetEstimatedIndexedLogsUsageOk() (*float64, bool)` + +GetEstimatedIndexedLogsUsageOk returns a tuple with the EstimatedIndexedLogsUsage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEstimatedIndexedLogsUsage + +`func (o *MonthlyUsageAttributionValues) SetEstimatedIndexedLogsUsage(v float64)` + +SetEstimatedIndexedLogsUsage sets EstimatedIndexedLogsUsage field to given value. + +### HasEstimatedIndexedLogsUsage + +`func (o *MonthlyUsageAttributionValues) HasEstimatedIndexedLogsUsage() bool` + +HasEstimatedIndexedLogsUsage returns a boolean if a field has been set. + ### GetFargatePercentage `func (o *MonthlyUsageAttributionValues) GetFargatePercentage() float64` diff --git a/api/v1/datadog/docs/UsageAttributionSort.md b/api/v1/datadog/docs/UsageAttributionSort.md index 52355939741..64ee2dff66c 100644 --- a/api/v1/datadog/docs/UsageAttributionSort.md +++ b/api/v1/datadog/docs/UsageAttributionSort.md @@ -46,4 +46,8 @@ - `LAMBDA_PERCENTAGE` (value: `"lambda_percentage"`) +- `ESTIMATED_INDEXED_LOGS_USAGE` (value: `"estimated_indexed_logs_usage"`) + +- `ESTIMATED_INDEXED_LOGS_PERCENTAGE` (value: `"estimated_indexed_logs_percentage"`) + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/api/v1/datadog/model_hourly_usage_attribution_usage_type.go b/api/v1/datadog/model_hourly_usage_attribution_usage_type.go index 8da26c1e417..9e5bd1909d1 100644 --- a/api/v1/datadog/model_hourly_usage_attribution_usage_type.go +++ b/api/v1/datadog/model_hourly_usage_attribution_usage_type.go @@ -18,20 +18,21 @@ type HourlyUsageAttributionUsageType string // List of HourlyUsageAttributionUsageType const ( - HOURLYUSAGEATTRIBUTIONUSAGETYPE_API_USAGE HourlyUsageAttributionUsageType = "api_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_APM_HOST_USAGE HourlyUsageAttributionUsageType = "apm_host_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_BROWSER_USAGE HourlyUsageAttributionUsageType = "browser_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_CONTAINER_USAGE HourlyUsageAttributionUsageType = "container_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_CUSTOM_TIMESERIES_USAGE HourlyUsageAttributionUsageType = "custom_timeseries_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_FARGATE_USAGE HourlyUsageAttributionUsageType = "fargate_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_FUNCTIONS_USAGE HourlyUsageAttributionUsageType = "functions_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_INDEXED_LOGS_USAGE HourlyUsageAttributionUsageType = "indexed_logs_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_INFRA_HOST_USAGE HourlyUsageAttributionUsageType = "infra_host_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_INVOCATIONS_USAGE HourlyUsageAttributionUsageType = "invocations_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_NPM_HOST_USAGE HourlyUsageAttributionUsageType = "npm_host_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_PROFILED_CONTAINER_USAGE HourlyUsageAttributionUsageType = "profiled_container_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_PROFILED_HOST_USAGE HourlyUsageAttributionUsageType = "profiled_host_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_SNMP_USAGE HourlyUsageAttributionUsageType = "snmp_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_API_USAGE HourlyUsageAttributionUsageType = "api_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_APM_HOST_USAGE HourlyUsageAttributionUsageType = "apm_host_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_BROWSER_USAGE HourlyUsageAttributionUsageType = "browser_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_CONTAINER_USAGE HourlyUsageAttributionUsageType = "container_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_CUSTOM_TIMESERIES_USAGE HourlyUsageAttributionUsageType = "custom_timeseries_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_ESTIMATED_INDEXED_LOGS_USAGE HourlyUsageAttributionUsageType = "estimated_indexed_logs_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_FARGATE_USAGE HourlyUsageAttributionUsageType = "fargate_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_FUNCTIONS_USAGE HourlyUsageAttributionUsageType = "functions_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_INDEXED_LOGS_USAGE HourlyUsageAttributionUsageType = "indexed_logs_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_INFRA_HOST_USAGE HourlyUsageAttributionUsageType = "infra_host_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_INVOCATIONS_USAGE HourlyUsageAttributionUsageType = "invocations_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_NPM_HOST_USAGE HourlyUsageAttributionUsageType = "npm_host_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_PROFILED_CONTAINER_USAGE HourlyUsageAttributionUsageType = "profiled_container_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_PROFILED_HOST_USAGE HourlyUsageAttributionUsageType = "profiled_host_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_SNMP_USAGE HourlyUsageAttributionUsageType = "snmp_usage" ) var allowedHourlyUsageAttributionUsageTypeEnumValues = []HourlyUsageAttributionUsageType{ @@ -40,6 +41,7 @@ var allowedHourlyUsageAttributionUsageTypeEnumValues = []HourlyUsageAttributionU "browser_usage", "container_usage", "custom_timeseries_usage", + "estimated_indexed_logs_usage", "fargate_usage", "functions_usage", "indexed_logs_usage", diff --git a/api/v1/datadog/model_monthly_usage_attribution_supported_metrics.go b/api/v1/datadog/model_monthly_usage_attribution_supported_metrics.go index f432c87329b..d4b25fdf399 100644 --- a/api/v1/datadog/model_monthly_usage_attribution_supported_metrics.go +++ b/api/v1/datadog/model_monthly_usage_attribution_supported_metrics.go @@ -18,35 +18,37 @@ type MonthlyUsageAttributionSupportedMetrics string // List of MonthlyUsageAttributionSupportedMetrics const ( - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_API_USAGE MonthlyUsageAttributionSupportedMetrics = "api_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_API_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "api_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APM_HOST_USAGE MonthlyUsageAttributionSupportedMetrics = "apm_host_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APM_HOST_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "apm_host_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_BROWSER_USAGE MonthlyUsageAttributionSupportedMetrics = "browser_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_BROWSER_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "browser_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CONTAINER_USAGE MonthlyUsageAttributionSupportedMetrics = "container_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CONTAINER_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "container_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CUSTOM_TIMESERIES_USAGE MonthlyUsageAttributionSupportedMetrics = "custom_timeseries_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CUSTOM_TIMESERIES_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "custom_timeseries_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FARGATE_USAGE MonthlyUsageAttributionSupportedMetrics = "fargate_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FARGATE_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "fargate_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FUNCTIONS_USAGE MonthlyUsageAttributionSupportedMetrics = "functions_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FUNCTIONS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "functions_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INDEXED_LOGS_USAGE MonthlyUsageAttributionSupportedMetrics = "indexed_logs_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INDEXED_LOGS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "indexed_logs_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INFRA_HOST_USAGE MonthlyUsageAttributionSupportedMetrics = "infra_host_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INFRA_HOST_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "infra_host_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INVOCATIONS_USAGE MonthlyUsageAttributionSupportedMetrics = "invocations_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INVOCATIONS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "invocations_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_NPM_HOST_USAGE MonthlyUsageAttributionSupportedMetrics = "npm_host_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_NPM_HOST_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "npm_host_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_CONTAINER_USAGE MonthlyUsageAttributionSupportedMetrics = "profiled_container_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_CONTAINER_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "profiled_container_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_HOST_USAGE MonthlyUsageAttributionSupportedMetrics = "profiled_host_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_HOST_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "profiled_host_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_SNMP_USAGE MonthlyUsageAttributionSupportedMetrics = "snmp_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_SNMP_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "snmp_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ALL MonthlyUsageAttributionSupportedMetrics = "*" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_API_USAGE MonthlyUsageAttributionSupportedMetrics = "api_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_API_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "api_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APM_HOST_USAGE MonthlyUsageAttributionSupportedMetrics = "apm_host_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APM_HOST_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "apm_host_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_BROWSER_USAGE MonthlyUsageAttributionSupportedMetrics = "browser_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_BROWSER_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "browser_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CONTAINER_USAGE MonthlyUsageAttributionSupportedMetrics = "container_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CONTAINER_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "container_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CUSTOM_TIMESERIES_USAGE MonthlyUsageAttributionSupportedMetrics = "custom_timeseries_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CUSTOM_TIMESERIES_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "custom_timeseries_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INDEXED_LOGS_USAGE MonthlyUsageAttributionSupportedMetrics = "estimated_indexed_logs_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INDEXED_LOGS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "estimated_indexed_logs_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FARGATE_USAGE MonthlyUsageAttributionSupportedMetrics = "fargate_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FARGATE_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "fargate_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FUNCTIONS_USAGE MonthlyUsageAttributionSupportedMetrics = "functions_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FUNCTIONS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "functions_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INDEXED_LOGS_USAGE MonthlyUsageAttributionSupportedMetrics = "indexed_logs_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INDEXED_LOGS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "indexed_logs_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INFRA_HOST_USAGE MonthlyUsageAttributionSupportedMetrics = "infra_host_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INFRA_HOST_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "infra_host_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INVOCATIONS_USAGE MonthlyUsageAttributionSupportedMetrics = "invocations_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INVOCATIONS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "invocations_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_NPM_HOST_USAGE MonthlyUsageAttributionSupportedMetrics = "npm_host_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_NPM_HOST_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "npm_host_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_CONTAINER_USAGE MonthlyUsageAttributionSupportedMetrics = "profiled_container_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_CONTAINER_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "profiled_container_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_HOST_USAGE MonthlyUsageAttributionSupportedMetrics = "profiled_host_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_HOST_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "profiled_host_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_SNMP_USAGE MonthlyUsageAttributionSupportedMetrics = "snmp_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_SNMP_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "snmp_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ALL MonthlyUsageAttributionSupportedMetrics = "*" ) var allowedMonthlyUsageAttributionSupportedMetricsEnumValues = []MonthlyUsageAttributionSupportedMetrics{ @@ -60,6 +62,8 @@ var allowedMonthlyUsageAttributionSupportedMetricsEnumValues = []MonthlyUsageAtt "container_percentage", "custom_timeseries_usage", "custom_timeseries_percentage", + "estimated_indexed_logs_usage", + "estimated_indexed_logs_percentage", "fargate_usage", "fargate_percentage", "functions_usage", diff --git a/api/v1/datadog/model_monthly_usage_attribution_values.go b/api/v1/datadog/model_monthly_usage_attribution_values.go index 870ba6c14bc..cc1530ffa04 100644 --- a/api/v1/datadog/model_monthly_usage_attribution_values.go +++ b/api/v1/datadog/model_monthly_usage_attribution_values.go @@ -34,6 +34,10 @@ type MonthlyUsageAttributionValues struct { CustomTimeseriesPercentage *float64 `json:"custom_timeseries_percentage,omitempty"` // The custom metrics usage by tag(s). CustomTimeseriesUsage *float64 `json:"custom_timeseries_usage,omitempty"` + // The percentage of estimated live indexed logs usage by tag(s). Note this field is in private beta. + EstimatedIndexedLogsPercentage *float64 `json:"estimated_indexed_logs_percentage,omitempty"` + // The estimated live indexed logs usage by tag(s). Note this field is in private beta. + EstimatedIndexedLogsUsage *float64 `json:"estimated_indexed_logs_usage,omitempty"` // The percentage of Fargate usage by tags. FargatePercentage *float64 `json:"fargate_percentage,omitempty"` // The Fargate usage by tags. @@ -411,6 +415,70 @@ func (o *MonthlyUsageAttributionValues) SetCustomTimeseriesUsage(v float64) { o.CustomTimeseriesUsage = &v } +// GetEstimatedIndexedLogsPercentage returns the EstimatedIndexedLogsPercentage field value if set, zero value otherwise. +func (o *MonthlyUsageAttributionValues) GetEstimatedIndexedLogsPercentage() float64 { + if o == nil || o.EstimatedIndexedLogsPercentage == nil { + var ret float64 + return ret + } + return *o.EstimatedIndexedLogsPercentage +} + +// GetEstimatedIndexedLogsPercentageOk returns a tuple with the EstimatedIndexedLogsPercentage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MonthlyUsageAttributionValues) GetEstimatedIndexedLogsPercentageOk() (*float64, bool) { + if o == nil || o.EstimatedIndexedLogsPercentage == nil { + return nil, false + } + return o.EstimatedIndexedLogsPercentage, true +} + +// HasEstimatedIndexedLogsPercentage returns a boolean if a field has been set. +func (o *MonthlyUsageAttributionValues) HasEstimatedIndexedLogsPercentage() bool { + if o != nil && o.EstimatedIndexedLogsPercentage != nil { + return true + } + + return false +} + +// SetEstimatedIndexedLogsPercentage gets a reference to the given float64 and assigns it to the EstimatedIndexedLogsPercentage field. +func (o *MonthlyUsageAttributionValues) SetEstimatedIndexedLogsPercentage(v float64) { + o.EstimatedIndexedLogsPercentage = &v +} + +// GetEstimatedIndexedLogsUsage returns the EstimatedIndexedLogsUsage field value if set, zero value otherwise. +func (o *MonthlyUsageAttributionValues) GetEstimatedIndexedLogsUsage() float64 { + if o == nil || o.EstimatedIndexedLogsUsage == nil { + var ret float64 + return ret + } + return *o.EstimatedIndexedLogsUsage +} + +// GetEstimatedIndexedLogsUsageOk returns a tuple with the EstimatedIndexedLogsUsage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MonthlyUsageAttributionValues) GetEstimatedIndexedLogsUsageOk() (*float64, bool) { + if o == nil || o.EstimatedIndexedLogsUsage == nil { + return nil, false + } + return o.EstimatedIndexedLogsUsage, true +} + +// HasEstimatedIndexedLogsUsage returns a boolean if a field has been set. +func (o *MonthlyUsageAttributionValues) HasEstimatedIndexedLogsUsage() bool { + if o != nil && o.EstimatedIndexedLogsUsage != nil { + return true + } + + return false +} + +// SetEstimatedIndexedLogsUsage gets a reference to the given float64 and assigns it to the EstimatedIndexedLogsUsage field. +func (o *MonthlyUsageAttributionValues) SetEstimatedIndexedLogsUsage(v float64) { + o.EstimatedIndexedLogsUsage = &v +} + // GetFargatePercentage returns the FargatePercentage field value if set, zero value otherwise. func (o *MonthlyUsageAttributionValues) GetFargatePercentage() float64 { if o == nil || o.FargatePercentage == nil { @@ -1022,6 +1090,12 @@ func (o MonthlyUsageAttributionValues) MarshalJSON() ([]byte, error) { if o.CustomTimeseriesUsage != nil { toSerialize["custom_timeseries_usage"] = o.CustomTimeseriesUsage } + if o.EstimatedIndexedLogsPercentage != nil { + toSerialize["estimated_indexed_logs_percentage"] = o.EstimatedIndexedLogsPercentage + } + if o.EstimatedIndexedLogsUsage != nil { + toSerialize["estimated_indexed_logs_usage"] = o.EstimatedIndexedLogsUsage + } if o.FargatePercentage != nil { toSerialize["fargate_percentage"] = o.FargatePercentage } @@ -1082,34 +1156,36 @@ func (o MonthlyUsageAttributionValues) MarshalJSON() ([]byte, error) { func (o *MonthlyUsageAttributionValues) UnmarshalJSON(bytes []byte) (err error) { raw := map[string]interface{}{} all := struct { - ApiPercentage *float64 `json:"api_percentage,omitempty"` - ApiUsage *float64 `json:"api_usage,omitempty"` - ApmHostPercentage *float64 `json:"apm_host_percentage,omitempty"` - ApmHostUsage *float64 `json:"apm_host_usage,omitempty"` - BrowserPercentage *float64 `json:"browser_percentage,omitempty"` - BrowserUsage *float64 `json:"browser_usage,omitempty"` - ContainerPercentage *float64 `json:"container_percentage,omitempty"` - ContainerUsage *float64 `json:"container_usage,omitempty"` - CustomTimeseriesPercentage *float64 `json:"custom_timeseries_percentage,omitempty"` - CustomTimeseriesUsage *float64 `json:"custom_timeseries_usage,omitempty"` - FargatePercentage *float64 `json:"fargate_percentage,omitempty"` - FargateUsage *float64 `json:"fargate_usage,omitempty"` - FunctionsPercentage *float64 `json:"functions_percentage,omitempty"` - FunctionsUsage *float64 `json:"functions_usage,omitempty"` - IndexedLogsPercentage *float64 `json:"indexed_logs_percentage,omitempty"` - IndexedLogsUsage *float64 `json:"indexed_logs_usage,omitempty"` - InfraHostPercentage *float64 `json:"infra_host_percentage,omitempty"` - InfraHostUsage *float64 `json:"infra_host_usage,omitempty"` - InvocationsPercentage *float64 `json:"invocations_percentage,omitempty"` - InvocationsUsage *float64 `json:"invocations_usage,omitempty"` - NpmHostPercentage *float64 `json:"npm_host_percentage,omitempty"` - NpmHostUsage *float64 `json:"npm_host_usage,omitempty"` - ProfiledContainerPercentage *float64 `json:"profiled_container_percentage,omitempty"` - ProfiledContainerUsage *float64 `json:"profiled_container_usage,omitempty"` - ProfiledHostPercentage *float64 `json:"profiled_host_percentage,omitempty"` - ProfiledHostUsage *float64 `json:"profiled_host_usage,omitempty"` - SnmpPercentage *float64 `json:"snmp_percentage,omitempty"` - SnmpUsage *float64 `json:"snmp_usage,omitempty"` + ApiPercentage *float64 `json:"api_percentage,omitempty"` + ApiUsage *float64 `json:"api_usage,omitempty"` + ApmHostPercentage *float64 `json:"apm_host_percentage,omitempty"` + ApmHostUsage *float64 `json:"apm_host_usage,omitempty"` + BrowserPercentage *float64 `json:"browser_percentage,omitempty"` + BrowserUsage *float64 `json:"browser_usage,omitempty"` + ContainerPercentage *float64 `json:"container_percentage,omitempty"` + ContainerUsage *float64 `json:"container_usage,omitempty"` + CustomTimeseriesPercentage *float64 `json:"custom_timeseries_percentage,omitempty"` + CustomTimeseriesUsage *float64 `json:"custom_timeseries_usage,omitempty"` + EstimatedIndexedLogsPercentage *float64 `json:"estimated_indexed_logs_percentage,omitempty"` + EstimatedIndexedLogsUsage *float64 `json:"estimated_indexed_logs_usage,omitempty"` + FargatePercentage *float64 `json:"fargate_percentage,omitempty"` + FargateUsage *float64 `json:"fargate_usage,omitempty"` + FunctionsPercentage *float64 `json:"functions_percentage,omitempty"` + FunctionsUsage *float64 `json:"functions_usage,omitempty"` + IndexedLogsPercentage *float64 `json:"indexed_logs_percentage,omitempty"` + IndexedLogsUsage *float64 `json:"indexed_logs_usage,omitempty"` + InfraHostPercentage *float64 `json:"infra_host_percentage,omitempty"` + InfraHostUsage *float64 `json:"infra_host_usage,omitempty"` + InvocationsPercentage *float64 `json:"invocations_percentage,omitempty"` + InvocationsUsage *float64 `json:"invocations_usage,omitempty"` + NpmHostPercentage *float64 `json:"npm_host_percentage,omitempty"` + NpmHostUsage *float64 `json:"npm_host_usage,omitempty"` + ProfiledContainerPercentage *float64 `json:"profiled_container_percentage,omitempty"` + ProfiledContainerUsage *float64 `json:"profiled_container_usage,omitempty"` + ProfiledHostPercentage *float64 `json:"profiled_host_percentage,omitempty"` + ProfiledHostUsage *float64 `json:"profiled_host_usage,omitempty"` + SnmpPercentage *float64 `json:"snmp_percentage,omitempty"` + SnmpUsage *float64 `json:"snmp_usage,omitempty"` }{} err = json.Unmarshal(bytes, &all) if err != nil { @@ -1130,6 +1206,8 @@ func (o *MonthlyUsageAttributionValues) UnmarshalJSON(bytes []byte) (err error) o.ContainerUsage = all.ContainerUsage o.CustomTimeseriesPercentage = all.CustomTimeseriesPercentage o.CustomTimeseriesUsage = all.CustomTimeseriesUsage + o.EstimatedIndexedLogsPercentage = all.EstimatedIndexedLogsPercentage + o.EstimatedIndexedLogsUsage = all.EstimatedIndexedLogsUsage o.FargatePercentage = all.FargatePercentage o.FargateUsage = all.FargateUsage o.FunctionsPercentage = all.FunctionsPercentage diff --git a/api/v1/datadog/model_usage_attribution_sort.go b/api/v1/datadog/model_usage_attribution_sort.go index ec0676af529..a3250f7225e 100644 --- a/api/v1/datadog/model_usage_attribution_sort.go +++ b/api/v1/datadog/model_usage_attribution_sort.go @@ -18,28 +18,30 @@ type UsageAttributionSort string // List of UsageAttributionSort const ( - USAGEATTRIBUTIONSORT_API_PERCENTAGE UsageAttributionSort = "api_percentage" - USAGEATTRIBUTIONSORT_SNMP_USAGE UsageAttributionSort = "snmp_usage" - USAGEATTRIBUTIONSORT_APM_HOST_USAGE UsageAttributionSort = "apm_host_usage" - USAGEATTRIBUTIONSORT_API_USAGE UsageAttributionSort = "api_usage" - USAGEATTRIBUTIONSORT_CONTAINER_USAGE UsageAttributionSort = "container_usage" - USAGEATTRIBUTIONSORT_CUSTOM_TIMESERIES_PERCENTAGE UsageAttributionSort = "custom_timeseries_percentage" - USAGEATTRIBUTIONSORT_CONTAINER_PERCENTAGE UsageAttributionSort = "container_percentage" - USAGEATTRIBUTIONSORT_APM_HOST_PERCENTAGE UsageAttributionSort = "apm_host_percentage" - USAGEATTRIBUTIONSORT_NPM_HOST_PERCENTAGE UsageAttributionSort = "npm_host_percentage" - USAGEATTRIBUTIONSORT_BROWSER_PERCENTAGE UsageAttributionSort = "browser_percentage" - USAGEATTRIBUTIONSORT_BROWSER_USAGE UsageAttributionSort = "browser_usage" - USAGEATTRIBUTIONSORT_INFRA_HOST_PERCENTAGE UsageAttributionSort = "infra_host_percentage" - USAGEATTRIBUTIONSORT_SNMP_PERCENTAGE UsageAttributionSort = "snmp_percentage" - USAGEATTRIBUTIONSORT_NPM_HOST_USAGE UsageAttributionSort = "npm_host_usage" - USAGEATTRIBUTIONSORT_INFRA_HOST_USAGE UsageAttributionSort = "infra_host_usage" - USAGEATTRIBUTIONSORT_CUSTOM_TIMESERIES_USAGE UsageAttributionSort = "custom_timeseries_usage" - USAGEATTRIBUTIONSORT_LAMBDA_FUNCTIONS_USAGE UsageAttributionSort = "lambda_functions_usage" - USAGEATTRIBUTIONSORT_LAMBDA_FUNCTIONS_PERCENTAGE UsageAttributionSort = "lambda_functions_percentage" - USAGEATTRIBUTIONSORT_LAMBDA_INVOCATIONS_USAGE UsageAttributionSort = "lambda_invocations_usage" - USAGEATTRIBUTIONSORT_LAMBDA_INVOCATIONS_PERCENTAGE UsageAttributionSort = "lambda_invocations_percentage" - USAGEATTRIBUTIONSORT_LAMBDA_USAGE UsageAttributionSort = "lambda_usage" - USAGEATTRIBUTIONSORT_LAMBDA_PERCENTAGE UsageAttributionSort = "lambda_percentage" + USAGEATTRIBUTIONSORT_API_PERCENTAGE UsageAttributionSort = "api_percentage" + USAGEATTRIBUTIONSORT_SNMP_USAGE UsageAttributionSort = "snmp_usage" + USAGEATTRIBUTIONSORT_APM_HOST_USAGE UsageAttributionSort = "apm_host_usage" + USAGEATTRIBUTIONSORT_API_USAGE UsageAttributionSort = "api_usage" + USAGEATTRIBUTIONSORT_CONTAINER_USAGE UsageAttributionSort = "container_usage" + USAGEATTRIBUTIONSORT_CUSTOM_TIMESERIES_PERCENTAGE UsageAttributionSort = "custom_timeseries_percentage" + USAGEATTRIBUTIONSORT_CONTAINER_PERCENTAGE UsageAttributionSort = "container_percentage" + USAGEATTRIBUTIONSORT_APM_HOST_PERCENTAGE UsageAttributionSort = "apm_host_percentage" + USAGEATTRIBUTIONSORT_NPM_HOST_PERCENTAGE UsageAttributionSort = "npm_host_percentage" + USAGEATTRIBUTIONSORT_BROWSER_PERCENTAGE UsageAttributionSort = "browser_percentage" + USAGEATTRIBUTIONSORT_BROWSER_USAGE UsageAttributionSort = "browser_usage" + USAGEATTRIBUTIONSORT_INFRA_HOST_PERCENTAGE UsageAttributionSort = "infra_host_percentage" + USAGEATTRIBUTIONSORT_SNMP_PERCENTAGE UsageAttributionSort = "snmp_percentage" + USAGEATTRIBUTIONSORT_NPM_HOST_USAGE UsageAttributionSort = "npm_host_usage" + USAGEATTRIBUTIONSORT_INFRA_HOST_USAGE UsageAttributionSort = "infra_host_usage" + USAGEATTRIBUTIONSORT_CUSTOM_TIMESERIES_USAGE UsageAttributionSort = "custom_timeseries_usage" + USAGEATTRIBUTIONSORT_LAMBDA_FUNCTIONS_USAGE UsageAttributionSort = "lambda_functions_usage" + USAGEATTRIBUTIONSORT_LAMBDA_FUNCTIONS_PERCENTAGE UsageAttributionSort = "lambda_functions_percentage" + USAGEATTRIBUTIONSORT_LAMBDA_INVOCATIONS_USAGE UsageAttributionSort = "lambda_invocations_usage" + USAGEATTRIBUTIONSORT_LAMBDA_INVOCATIONS_PERCENTAGE UsageAttributionSort = "lambda_invocations_percentage" + USAGEATTRIBUTIONSORT_LAMBDA_USAGE UsageAttributionSort = "lambda_usage" + USAGEATTRIBUTIONSORT_LAMBDA_PERCENTAGE UsageAttributionSort = "lambda_percentage" + USAGEATTRIBUTIONSORT_ESTIMATED_INDEXED_LOGS_USAGE UsageAttributionSort = "estimated_indexed_logs_usage" + USAGEATTRIBUTIONSORT_ESTIMATED_INDEXED_LOGS_PERCENTAGE UsageAttributionSort = "estimated_indexed_logs_percentage" ) var allowedUsageAttributionSortEnumValues = []UsageAttributionSort{ @@ -65,6 +67,8 @@ var allowedUsageAttributionSortEnumValues = []UsageAttributionSort{ "lambda_invocations_percentage", "lambda_usage", "lambda_percentage", + "estimated_indexed_logs_usage", + "estimated_indexed_logs_percentage", } func (w *UsageAttributionSort) GetAllowedValues() []UsageAttributionSort {