diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index c17a2178cc3..6f50d6f09d2 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -4514,6 +4514,7 @@ components: - estimated_indexed_spans_usage - estimated_ingested_spans_usage - fargate_usage + - flex_logs_starter - flex_stored_logs - functions_usage - incident_management_monthly_active_users_usage @@ -4598,6 +4599,7 @@ components: - ESTIMATED_INDEXED_SPANS_USAGE - ESTIMATED_INGESTED_SPANS_USAGE - FARGATE_USAGE + - FLEX_LOGS_STARTER - FLEX_STORED_LOGS - FUNCTIONS_USAGE - INCIDENT_MANAGEMENT_MONTHLY_ACTIVE_USERS_USAGE @@ -9086,6 +9088,8 @@ components: - estimated_ingested_spans_percentage - fargate_usage - fargate_percentage + - flex_logs_starter_usage + - flex_logs_starter_percentage - flex_stored_logs_usage - flex_stored_logs_percentage - functions_usage @@ -9249,6 +9253,8 @@ components: - ESTIMATED_INGESTED_SPANS_PERCENTAGE - FARGATE_USAGE - FARGATE_PERCENTAGE + - FLEX_LOGS_STARTER_USAGE + - FLEX_LOGS_STARTER_PERCENTAGE - FLEX_STORED_LOGS_USAGE - FLEX_STORED_LOGS_PERCENTAGE - FUNCTIONS_USAGE @@ -9620,6 +9626,14 @@ components: description: The Fargate usage by tags. format: double type: number + flex_logs_starter_percentage: + description: The percentage of Flex Logs Starter usage by tags. + format: double + type: number + flex_logs_starter_usage: + description: The Flex Logs Starter usage by tags. + format: double + type: number flex_stored_logs_percentage: description: The percentage of Flex Stored Logs usage by tags. format: double diff --git a/api/datadogV1/model_hourly_usage_attribution_usage_type.go b/api/datadogV1/model_hourly_usage_attribution_usage_type.go index e29925a276e..7add18a8393 100644 --- a/api/datadogV1/model_hourly_usage_attribution_usage_type.go +++ b/api/datadogV1/model_hourly_usage_attribution_usage_type.go @@ -50,6 +50,7 @@ const ( HOURLYUSAGEATTRIBUTIONUSAGETYPE_ESTIMATED_INDEXED_SPANS_USAGE HourlyUsageAttributionUsageType = "estimated_indexed_spans_usage" HOURLYUSAGEATTRIBUTIONUSAGETYPE_ESTIMATED_INGESTED_SPANS_USAGE HourlyUsageAttributionUsageType = "estimated_ingested_spans_usage" HOURLYUSAGEATTRIBUTIONUSAGETYPE_FARGATE_USAGE HourlyUsageAttributionUsageType = "fargate_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_FLEX_LOGS_STARTER HourlyUsageAttributionUsageType = "flex_logs_starter" HOURLYUSAGEATTRIBUTIONUSAGETYPE_FLEX_STORED_LOGS HourlyUsageAttributionUsageType = "flex_stored_logs" HOURLYUSAGEATTRIBUTIONUSAGETYPE_FUNCTIONS_USAGE HourlyUsageAttributionUsageType = "functions_usage" HOURLYUSAGEATTRIBUTIONUSAGETYPE_INCIDENT_MANAGEMENT_MONTHLY_ACTIVE_USERS_USAGE HourlyUsageAttributionUsageType = "incident_management_monthly_active_users_usage" @@ -135,6 +136,7 @@ var allowedHourlyUsageAttributionUsageTypeEnumValues = []HourlyUsageAttributionU HOURLYUSAGEATTRIBUTIONUSAGETYPE_ESTIMATED_INDEXED_SPANS_USAGE, HOURLYUSAGEATTRIBUTIONUSAGETYPE_ESTIMATED_INGESTED_SPANS_USAGE, HOURLYUSAGEATTRIBUTIONUSAGETYPE_FARGATE_USAGE, + HOURLYUSAGEATTRIBUTIONUSAGETYPE_FLEX_LOGS_STARTER, HOURLYUSAGEATTRIBUTIONUSAGETYPE_FLEX_STORED_LOGS, HOURLYUSAGEATTRIBUTIONUSAGETYPE_FUNCTIONS_USAGE, HOURLYUSAGEATTRIBUTIONUSAGETYPE_INCIDENT_MANAGEMENT_MONTHLY_ACTIVE_USERS_USAGE, diff --git a/api/datadogV1/model_monthly_usage_attribution_supported_metrics.go b/api/datadogV1/model_monthly_usage_attribution_supported_metrics.go index d9f5915f86b..e178e8e7da1 100644 --- a/api/datadogV1/model_monthly_usage_attribution_supported_metrics.go +++ b/api/datadogV1/model_monthly_usage_attribution_supported_metrics.go @@ -73,6 +73,8 @@ const ( MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INGESTED_SPANS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "estimated_ingested_spans_percentage" MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FARGATE_USAGE MonthlyUsageAttributionSupportedMetrics = "fargate_usage" MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FARGATE_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "fargate_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FLEX_LOGS_STARTER_USAGE MonthlyUsageAttributionSupportedMetrics = "flex_logs_starter_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FLEX_LOGS_STARTER_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "flex_logs_starter_percentage" MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FLEX_STORED_LOGS_USAGE MonthlyUsageAttributionSupportedMetrics = "flex_stored_logs_usage" MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FLEX_STORED_LOGS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "flex_stored_logs_percentage" MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FUNCTIONS_USAGE MonthlyUsageAttributionSupportedMetrics = "functions_usage" @@ -237,6 +239,8 @@ var allowedMonthlyUsageAttributionSupportedMetricsEnumValues = []MonthlyUsageAtt MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INGESTED_SPANS_PERCENTAGE, MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FARGATE_USAGE, MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FARGATE_PERCENTAGE, + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FLEX_LOGS_STARTER_USAGE, + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FLEX_LOGS_STARTER_PERCENTAGE, MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FLEX_STORED_LOGS_USAGE, MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FLEX_STORED_LOGS_PERCENTAGE, MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FUNCTIONS_USAGE, diff --git a/api/datadogV1/model_monthly_usage_attribution_values.go b/api/datadogV1/model_monthly_usage_attribution_values.go index d1a73c0aa8b..44f13e871c8 100644 --- a/api/datadogV1/model_monthly_usage_attribution_values.go +++ b/api/datadogV1/model_monthly_usage_attribution_values.go @@ -135,6 +135,10 @@ type MonthlyUsageAttributionValues struct { FargatePercentage *float64 `json:"fargate_percentage,omitempty"` // The Fargate usage by tags. FargateUsage *float64 `json:"fargate_usage,omitempty"` + // The percentage of Flex Logs Starter usage by tags. + FlexLogsStarterPercentage *float64 `json:"flex_logs_starter_percentage,omitempty"` + // The Flex Logs Starter usage by tags. + FlexLogsStarterUsage *float64 `json:"flex_logs_starter_usage,omitempty"` // The percentage of Flex Stored Logs usage by tags. FlexStoredLogsPercentage *float64 `json:"flex_stored_logs_percentage,omitempty"` // The Flex Stored Logs usage by tags. @@ -2085,6 +2089,62 @@ func (o *MonthlyUsageAttributionValues) SetFargateUsage(v float64) { o.FargateUsage = &v } +// GetFlexLogsStarterPercentage returns the FlexLogsStarterPercentage field value if set, zero value otherwise. +func (o *MonthlyUsageAttributionValues) GetFlexLogsStarterPercentage() float64 { + if o == nil || o.FlexLogsStarterPercentage == nil { + var ret float64 + return ret + } + return *o.FlexLogsStarterPercentage +} + +// GetFlexLogsStarterPercentageOk returns a tuple with the FlexLogsStarterPercentage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MonthlyUsageAttributionValues) GetFlexLogsStarterPercentageOk() (*float64, bool) { + if o == nil || o.FlexLogsStarterPercentage == nil { + return nil, false + } + return o.FlexLogsStarterPercentage, true +} + +// HasFlexLogsStarterPercentage returns a boolean if a field has been set. +func (o *MonthlyUsageAttributionValues) HasFlexLogsStarterPercentage() bool { + return o != nil && o.FlexLogsStarterPercentage != nil +} + +// SetFlexLogsStarterPercentage gets a reference to the given float64 and assigns it to the FlexLogsStarterPercentage field. +func (o *MonthlyUsageAttributionValues) SetFlexLogsStarterPercentage(v float64) { + o.FlexLogsStarterPercentage = &v +} + +// GetFlexLogsStarterUsage returns the FlexLogsStarterUsage field value if set, zero value otherwise. +func (o *MonthlyUsageAttributionValues) GetFlexLogsStarterUsage() float64 { + if o == nil || o.FlexLogsStarterUsage == nil { + var ret float64 + return ret + } + return *o.FlexLogsStarterUsage +} + +// GetFlexLogsStarterUsageOk returns a tuple with the FlexLogsStarterUsage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MonthlyUsageAttributionValues) GetFlexLogsStarterUsageOk() (*float64, bool) { + if o == nil || o.FlexLogsStarterUsage == nil { + return nil, false + } + return o.FlexLogsStarterUsage, true +} + +// HasFlexLogsStarterUsage returns a boolean if a field has been set. +func (o *MonthlyUsageAttributionValues) HasFlexLogsStarterUsage() bool { + return o != nil && o.FlexLogsStarterUsage != nil +} + +// SetFlexLogsStarterUsage gets a reference to the given float64 and assigns it to the FlexLogsStarterUsage field. +func (o *MonthlyUsageAttributionValues) SetFlexLogsStarterUsage(v float64) { + o.FlexLogsStarterUsage = &v +} + // GetFlexStoredLogsPercentage returns the FlexStoredLogsPercentage field value if set, zero value otherwise. func (o *MonthlyUsageAttributionValues) GetFlexStoredLogsPercentage() float64 { if o == nil || o.FlexStoredLogsPercentage == nil { @@ -4965,6 +5025,12 @@ func (o MonthlyUsageAttributionValues) MarshalJSON() ([]byte, error) { if o.FargateUsage != nil { toSerialize["fargate_usage"] = o.FargateUsage } + if o.FlexLogsStarterPercentage != nil { + toSerialize["flex_logs_starter_percentage"] = o.FlexLogsStarterPercentage + } + if o.FlexLogsStarterUsage != nil { + toSerialize["flex_logs_starter_usage"] = o.FlexLogsStarterUsage + } if o.FlexStoredLogsPercentage != nil { toSerialize["flex_stored_logs_percentage"] = o.FlexStoredLogsPercentage } @@ -5325,6 +5391,8 @@ func (o *MonthlyUsageAttributionValues) UnmarshalJSON(bytes []byte) (err error) EstimatedIngestedSpansUsage *float64 `json:"estimated_ingested_spans_usage,omitempty"` FargatePercentage *float64 `json:"fargate_percentage,omitempty"` FargateUsage *float64 `json:"fargate_usage,omitempty"` + FlexLogsStarterPercentage *float64 `json:"flex_logs_starter_percentage,omitempty"` + FlexLogsStarterUsage *float64 `json:"flex_logs_starter_usage,omitempty"` FlexStoredLogsPercentage *float64 `json:"flex_stored_logs_percentage,omitempty"` FlexStoredLogsUsage *float64 `json:"flex_stored_logs_usage,omitempty"` FunctionsPercentage *float64 `json:"functions_percentage,omitempty"` @@ -5427,7 +5495,7 @@ func (o *MonthlyUsageAttributionValues) UnmarshalJSON(bytes []byte) (err error) } additionalProperties := make(map[string]interface{}) if err = datadog.Unmarshal(bytes, &additionalProperties); err == nil { - datadog.DeleteKeys(additionalProperties, &[]string{"api_percentage", "api_usage", "apm_fargate_percentage", "apm_fargate_usage", "apm_host_percentage", "apm_host_usage", "apm_usm_percentage", "apm_usm_usage", "appsec_fargate_percentage", "appsec_fargate_usage", "appsec_percentage", "appsec_usage", "asm_serverless_traced_invocations_percentage", "asm_serverless_traced_invocations_usage", "bits_ai_investigations_percentage", "bits_ai_investigations_usage", "browser_percentage", "browser_usage", "ci_pipeline_indexed_spans_percentage", "ci_pipeline_indexed_spans_usage", "ci_test_indexed_spans_percentage", "ci_test_indexed_spans_usage", "ci_visibility_itr_percentage", "ci_visibility_itr_usage", "cloud_siem_percentage", "cloud_siem_usage", "code_security_host_percentage", "code_security_host_usage", "container_excl_agent_percentage", "container_excl_agent_usage", "container_percentage", "container_usage", "cspm_containers_percentage", "cspm_containers_usage", "cspm_hosts_percentage", "cspm_hosts_usage", "custom_event_percentage", "custom_event_usage", "custom_ingested_timeseries_percentage", "custom_ingested_timeseries_usage", "custom_timeseries_percentage", "custom_timeseries_usage", "cws_containers_percentage", "cws_containers_usage", "cws_fargate_task_percentage", "cws_fargate_task_usage", "cws_hosts_percentage", "cws_hosts_usage", "data_jobs_monitoring_usage", "data_stream_monitoring_usage", "dbm_hosts_percentage", "dbm_hosts_usage", "dbm_queries_percentage", "dbm_queries_usage", "error_tracking_percentage", "error_tracking_usage", "estimated_indexed_spans_percentage", "estimated_indexed_spans_usage", "estimated_ingested_spans_percentage", "estimated_ingested_spans_usage", "fargate_percentage", "fargate_usage", "flex_stored_logs_percentage", "flex_stored_logs_usage", "functions_percentage", "functions_usage", "incident_management_monthly_active_users_percentage", "incident_management_monthly_active_users_usage", "indexed_spans_percentage", "indexed_spans_usage", "infra_host_percentage", "infra_host_usage", "ingested_logs_bytes_percentage", "ingested_logs_bytes_usage", "ingested_spans_bytes_percentage", "ingested_spans_bytes_usage", "invocations_percentage", "invocations_usage", "lambda_traced_invocations_percentage", "lambda_traced_invocations_usage", "llm_observability_percentage", "llm_observability_usage", "llm_spans_percentage", "llm_spans_usage", "logs_indexed_15day_percentage", "logs_indexed_15day_usage", "logs_indexed_180day_percentage", "logs_indexed_180day_usage", "logs_indexed_1day_percentage", "logs_indexed_1day_usage", "logs_indexed_30day_percentage", "logs_indexed_30day_usage", "logs_indexed_360day_percentage", "logs_indexed_360day_usage", "logs_indexed_3day_percentage", "logs_indexed_3day_usage", "logs_indexed_45day_percentage", "logs_indexed_45day_usage", "logs_indexed_60day_percentage", "logs_indexed_60day_usage", "logs_indexed_7day_percentage", "logs_indexed_7day_usage", "logs_indexed_90day_percentage", "logs_indexed_90day_usage", "logs_indexed_custom_retention_percentage", "logs_indexed_custom_retention_usage", "mobile_app_testing_percentage", "mobile_app_testing_usage", "ndm_netflow_percentage", "ndm_netflow_usage", "network_device_wireless_percentage", "network_device_wireless_usage", "npm_host_percentage", "npm_host_usage", "obs_pipeline_bytes_percentage", "obs_pipeline_bytes_usage", "obs_pipelines_vcpu_percentage", "obs_pipelines_vcpu_usage", "online_archive_percentage", "online_archive_usage", "product_analytics_session_percentage", "product_analytics_session_usage", "profiled_container_percentage", "profiled_container_usage", "profiled_fargate_percentage", "profiled_fargate_usage", "profiled_host_percentage", "profiled_host_usage", "published_app_percentage", "published_app_usage", "rum_browser_mobile_sessions_percentage", "rum_browser_mobile_sessions_usage", "rum_ingested_percentage", "rum_ingested_usage", "rum_investigate_percentage", "rum_investigate_usage", "rum_replay_sessions_percentage", "rum_replay_sessions_usage", "rum_session_replay_add_on_percentage", "rum_session_replay_add_on_usage", "sca_fargate_percentage", "sca_fargate_usage", "sds_scanned_bytes_percentage", "sds_scanned_bytes_usage", "serverless_apps_percentage", "serverless_apps_usage", "siem_analyzed_logs_add_on_percentage", "siem_analyzed_logs_add_on_usage", "siem_ingested_bytes_percentage", "siem_ingested_bytes_usage", "snmp_percentage", "snmp_usage", "universal_service_monitoring_percentage", "universal_service_monitoring_usage", "vuln_management_hosts_percentage", "vuln_management_hosts_usage", "workflow_executions_percentage", "workflow_executions_usage"}) + datadog.DeleteKeys(additionalProperties, &[]string{"api_percentage", "api_usage", "apm_fargate_percentage", "apm_fargate_usage", "apm_host_percentage", "apm_host_usage", "apm_usm_percentage", "apm_usm_usage", "appsec_fargate_percentage", "appsec_fargate_usage", "appsec_percentage", "appsec_usage", "asm_serverless_traced_invocations_percentage", "asm_serverless_traced_invocations_usage", "bits_ai_investigations_percentage", "bits_ai_investigations_usage", "browser_percentage", "browser_usage", "ci_pipeline_indexed_spans_percentage", "ci_pipeline_indexed_spans_usage", "ci_test_indexed_spans_percentage", "ci_test_indexed_spans_usage", "ci_visibility_itr_percentage", "ci_visibility_itr_usage", "cloud_siem_percentage", "cloud_siem_usage", "code_security_host_percentage", "code_security_host_usage", "container_excl_agent_percentage", "container_excl_agent_usage", "container_percentage", "container_usage", "cspm_containers_percentage", "cspm_containers_usage", "cspm_hosts_percentage", "cspm_hosts_usage", "custom_event_percentage", "custom_event_usage", "custom_ingested_timeseries_percentage", "custom_ingested_timeseries_usage", "custom_timeseries_percentage", "custom_timeseries_usage", "cws_containers_percentage", "cws_containers_usage", "cws_fargate_task_percentage", "cws_fargate_task_usage", "cws_hosts_percentage", "cws_hosts_usage", "data_jobs_monitoring_usage", "data_stream_monitoring_usage", "dbm_hosts_percentage", "dbm_hosts_usage", "dbm_queries_percentage", "dbm_queries_usage", "error_tracking_percentage", "error_tracking_usage", "estimated_indexed_spans_percentage", "estimated_indexed_spans_usage", "estimated_ingested_spans_percentage", "estimated_ingested_spans_usage", "fargate_percentage", "fargate_usage", "flex_logs_starter_percentage", "flex_logs_starter_usage", "flex_stored_logs_percentage", "flex_stored_logs_usage", "functions_percentage", "functions_usage", "incident_management_monthly_active_users_percentage", "incident_management_monthly_active_users_usage", "indexed_spans_percentage", "indexed_spans_usage", "infra_host_percentage", "infra_host_usage", "ingested_logs_bytes_percentage", "ingested_logs_bytes_usage", "ingested_spans_bytes_percentage", "ingested_spans_bytes_usage", "invocations_percentage", "invocations_usage", "lambda_traced_invocations_percentage", "lambda_traced_invocations_usage", "llm_observability_percentage", "llm_observability_usage", "llm_spans_percentage", "llm_spans_usage", "logs_indexed_15day_percentage", "logs_indexed_15day_usage", "logs_indexed_180day_percentage", "logs_indexed_180day_usage", "logs_indexed_1day_percentage", "logs_indexed_1day_usage", "logs_indexed_30day_percentage", "logs_indexed_30day_usage", "logs_indexed_360day_percentage", "logs_indexed_360day_usage", "logs_indexed_3day_percentage", "logs_indexed_3day_usage", "logs_indexed_45day_percentage", "logs_indexed_45day_usage", "logs_indexed_60day_percentage", "logs_indexed_60day_usage", "logs_indexed_7day_percentage", "logs_indexed_7day_usage", "logs_indexed_90day_percentage", "logs_indexed_90day_usage", "logs_indexed_custom_retention_percentage", "logs_indexed_custom_retention_usage", "mobile_app_testing_percentage", "mobile_app_testing_usage", "ndm_netflow_percentage", "ndm_netflow_usage", "network_device_wireless_percentage", "network_device_wireless_usage", "npm_host_percentage", "npm_host_usage", "obs_pipeline_bytes_percentage", "obs_pipeline_bytes_usage", "obs_pipelines_vcpu_percentage", "obs_pipelines_vcpu_usage", "online_archive_percentage", "online_archive_usage", "product_analytics_session_percentage", "product_analytics_session_usage", "profiled_container_percentage", "profiled_container_usage", "profiled_fargate_percentage", "profiled_fargate_usage", "profiled_host_percentage", "profiled_host_usage", "published_app_percentage", "published_app_usage", "rum_browser_mobile_sessions_percentage", "rum_browser_mobile_sessions_usage", "rum_ingested_percentage", "rum_ingested_usage", "rum_investigate_percentage", "rum_investigate_usage", "rum_replay_sessions_percentage", "rum_replay_sessions_usage", "rum_session_replay_add_on_percentage", "rum_session_replay_add_on_usage", "sca_fargate_percentage", "sca_fargate_usage", "sds_scanned_bytes_percentage", "sds_scanned_bytes_usage", "serverless_apps_percentage", "serverless_apps_usage", "siem_analyzed_logs_add_on_percentage", "siem_analyzed_logs_add_on_usage", "siem_ingested_bytes_percentage", "siem_ingested_bytes_usage", "snmp_percentage", "snmp_usage", "universal_service_monitoring_percentage", "universal_service_monitoring_usage", "vuln_management_hosts_percentage", "vuln_management_hosts_usage", "workflow_executions_percentage", "workflow_executions_usage"}) } else { return err } @@ -5493,6 +5561,8 @@ func (o *MonthlyUsageAttributionValues) UnmarshalJSON(bytes []byte) (err error) o.EstimatedIngestedSpansUsage = all.EstimatedIngestedSpansUsage o.FargatePercentage = all.FargatePercentage o.FargateUsage = all.FargateUsage + o.FlexLogsStarterPercentage = all.FlexLogsStarterPercentage + o.FlexLogsStarterUsage = all.FlexLogsStarterUsage o.FlexStoredLogsPercentage = all.FlexStoredLogsPercentage o.FlexStoredLogsUsage = all.FlexStoredLogsUsage o.FunctionsPercentage = all.FunctionsPercentage