Class: DatadogAPIClient::V1::MonthlyUsageAttributionSupportedMetrics

Inherits:
Object
  • Object
show all
Includes:
BaseEnumModel
Defined in:
lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb,
lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb

Overview

Supported metrics for monthly usage attribution requests.

Constant Summary collapse

API_USAGE =
"api_usage".freeze
API_PERCENTAGE =
"api_percentage".freeze
APM_HOST_USAGE =
"apm_host_usage".freeze
APM_HOST_PERCENTAGE =
"apm_host_percentage".freeze
BROWSER_USAGE =
"browser_usage".freeze
BROWSER_PERCENTAGE =
"browser_percentage".freeze
CONTAINER_USAGE =
"container_usage".freeze
CONTAINER_PERCENTAGE =
"container_percentage".freeze
CUSTOM_TIMESERIES_USAGE =
"custom_timeseries_usage".freeze
CUSTOM_TIMESERIES_PERCENTAGE =
"custom_timeseries_percentage".freeze
FARGATE_USAGE =
"fargate_usage".freeze
FARGATE_PERCENTAGE =
"fargate_percentage".freeze
FUNCTIONS_USAGE =
"functions_usage".freeze
FUNCTIONS_PERCENTAGE =
"functions_percentage".freeze
INDEXED_LOGS_USAGE =
"indexed_logs_usage".freeze
INDEXED_LOGS_PERCENTAGE =
"indexed_logs_percentage".freeze
INFRA_HOST_USAGE =
"infra_host_usage".freeze
INFRA_HOST_PERCENTAGE =
"infra_host_percentage".freeze
INVOCATIONS_USAGE =
"invocations_usage".freeze
INVOCATIONS_PERCENTAGE =
"invocations_percentage".freeze
NPM_HOST_USAGE =
"npm_host_usage".freeze
NPM_HOST_PERCENTAGE =
"npm_host_percentage".freeze
PROFILED_CONTAINER_USAGE =
"profiled_container_usage".freeze
PROFILED_CONTAINER_PERCENTAGE =
"profiled_container_percentage".freeze
PROFILED_HOST_USAGE =
"profiled_host_usage".freeze
PROFILED_HOST_PERCENTAGE =
"profiled_host_percentage".freeze
SNMP_USAGE =
"snmp_usage".freeze
SNMP_PERCENTAGE =
"snmp_percentage".freeze
ALL =
"*".freeze
APM_FARGATE_USAGE =
"apm_fargate_usage".freeze
APM_FARGATE_PERCENTAGE =
"apm_fargate_percentage".freeze
APPSEC_FARGATE_USAGE =
"appsec_fargate_usage".freeze
APPSEC_FARGATE_PERCENTAGE =
"appsec_fargate_percentage".freeze
APM_USM_USAGE =
"apm_usm_usage".freeze
APM_USM_PERCENTAGE =
"apm_usm_percentage".freeze
APPSEC_USAGE =
"appsec_usage".freeze
APPSEC_PERCENTAGE =
"appsec_percentage".freeze
ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE =
"asm_serverless_traced_invocations_usage".freeze
ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE =
"asm_serverless_traced_invocations_percentage".freeze
CI_VISIBILITY_ITR_USAGE =
"ci_visibility_itr_usage".freeze
CI_VISIBILITY_ITR_PERCENTAGE =
"ci_visibility_itr_percentage".freeze
CLOUD_SIEM_USAGE =
"cloud_siem_usage".freeze
CLOUD_SIEM_PERCENTAGE =
"cloud_siem_percentage".freeze
CODE_SECURITY_HOST_USAGE =
"code_security_host_usage".freeze
CODE_SECURITY_HOST_PERCENTAGE =
"code_security_host_percentage".freeze
CONTAINER_EXCL_AGENT_USAGE =
"container_excl_agent_usage".freeze
CONTAINER_EXCL_AGENT_PERCENTAGE =
"container_excl_agent_percentage".freeze
CSPM_CONTAINERS_PERCENTAGE =
"cspm_containers_percentage".freeze
CSPM_CONTAINERS_USAGE =
"cspm_containers_usage".freeze
CSPM_HOSTS_PERCENTAGE =
"cspm_hosts_percentage".freeze
CSPM_HOSTS_USAGE =
"cspm_hosts_usage".freeze
CUSTOM_INGESTED_TIMESERIES_USAGE =
"custom_ingested_timeseries_usage".freeze
CUSTOM_INGESTED_TIMESERIES_PERCENTAGE =
"custom_ingested_timeseries_percentage".freeze
CWS_CONTAINERS_PERCENTAGE =
"cws_containers_percentage".freeze
CWS_CONTAINERS_USAGE =
"cws_containers_usage".freeze
CWS_FARGATE_TASK_PERCENTAGE =
"cws_fargate_task_percentage".freeze
CWS_FARGATE_TASK_USAGE =
"cws_fargate_task_usage".freeze
CWS_HOSTS_PERCENTAGE =
"cws_hosts_percentage".freeze
CWS_HOSTS_USAGE =
"cws_hosts_usage".freeze
DATA_JOBS_MONITORING_USAGE =
"data_jobs_monitoring_usage".freeze
DATA_JOBS_MONITORING_PERCENTAGE =
"data_jobs_monitoring_percentage".freeze
DATA_STREAM_MONITORING_USAGE =
"data_stream_monitoring_usage".freeze
DATA_STREAM_MONITORING_PERCENTAGE =
"data_stream_monitoring_percentage".freeze
DBM_HOSTS_PERCENTAGE =
"dbm_hosts_percentage".freeze
DBM_HOSTS_USAGE =
"dbm_hosts_usage".freeze
DBM_QUERIES_PERCENTAGE =
"dbm_queries_percentage".freeze
DBM_QUERIES_USAGE =
"dbm_queries_usage".freeze
ERROR_TRACKING_USAGE =
"error_tracking_usage".freeze
ERROR_TRACKING_PERCENTAGE =
"error_tracking_percentage".freeze
ESTIMATED_INDEXED_SPANS_USAGE =
"estimated_indexed_spans_usage".freeze
ESTIMATED_INDEXED_SPANS_PERCENTAGE =
"estimated_indexed_spans_percentage".freeze
ESTIMATED_INGESTED_SPANS_USAGE =
"estimated_ingested_spans_usage".freeze
ESTIMATED_INGESTED_SPANS_PERCENTAGE =
"estimated_ingested_spans_percentage".freeze
INCIDENT_MANAGEMENT_MONTHLY_ACTIVE_USERS_USAGE =
"incident_management_monthly_active_users_usage".freeze
INCIDENT_MANAGEMENT_MONTHLY_ACTIVE_USERS_PERCENTAGE =
"incident_management_monthly_active_users_percentage".freeze
LAMBDA_TRACED_INVOCATIONS_USAGE =
"lambda_traced_invocations_usage".freeze
LAMBDA_TRACED_INVOCATIONS_PERCENTAGE =
"lambda_traced_invocations_percentage".freeze
MOBILE_APP_TESTING_USAGE =
"mobile_app_testing_percentage".freeze
MOBILE_APP_TESTING_PERCENTAGE =
"mobile_app_testing_usage".freeze
NDM_NETFLOW_USAGE =
"ndm_netflow_usage".freeze
NDM_NETFLOW_PERCENTAGE =
"ndm_netflow_percentage".freeze
OBS_PIPELINE_BYTES_USAGE =
"obs_pipeline_bytes_usage".freeze
OBS_PIPELINE_BYTES_PERCENTAGE =
"obs_pipeline_bytes_percentage".freeze
OBS_PIPELINES_VCPU_USAGE =
"obs_pipelines_vcpu_usage".freeze
OBS_PIPELINES_VCPU_PERCENTAGE =
"obs_pipelines_vcpu_percentage".freeze
ONLINE_ARCHIVE_USAGE =
"online_archive_usage".freeze
ONLINE_ARCHIVE_PERCENTAGE =
"online_archive_percentage".freeze
PROFILED_FARGATE_USAGE =
"profiled_fargate_usage".freeze
PROFILED_FARGATE_PERCENTAGE =
"profiled_fargate_percentage".freeze
SERVERLESS_APPS_USAGE =
"serverless_apps_usage".freeze
SERVERLESS_APPS_PERCENTAGE =
"serverless_apps_percentage".freeze
UNIVERSAL_SERVICE_MONITORING_USAGE =
"universal_service_monitoring_usage".freeze
UNIVERSAL_SERVICE_MONITORING_PERCENTAGE =
"universal_service_monitoring_percentage".freeze
VULN_MANAGEMENT_HOSTS_USAGE =
"vuln_management_hosts_usage".freeze
VULN_MANAGEMENT_HOSTS_PERCENTAGE =
"vuln_management_hosts_percentage".freeze
SDS_SCANNED_BYTES_USAGE =
"sds_scanned_bytes_usage".freeze
SDS_SCANNED_BYTES_PERCENTAGE =
"sds_scanned_bytes_percentage".freeze
CI_TEST_INDEXED_SPANS_USAGE =
"ci_test_indexed_spans_usage".freeze
CI_TEST_INDEXED_SPANS_PERCENTAGE =
"ci_test_indexed_spans_percentage".freeze
INGESTED_LOGS_BYTES_USAGE =
"ingested_logs_bytes_usage".freeze
INGESTED_LOGS_BYTES_PERCENTAGE =
"ingested_logs_bytes_percentage".freeze
CI_PIPELINE_INDEXED_SPANS_USAGE =
"ci_pipeline_indexed_spans_usage".freeze
CI_PIPELINE_INDEXED_SPANS_PERCENTAGE =
"ci_pipeline_indexed_spans_percentage".freeze
INDEXED_SPANS_USAGE =
"indexed_spans_usage".freeze
INDEXED_SPANS_PERCENTAGE =
"indexed_spans_percentage".freeze
CUSTOM_EVENT_USAGE =
"custom_event_usage".freeze
CUSTOM_EVENT_PERCENTAGE =
"custom_event_percentage".freeze
LOGS_INDEXED_CUSTOM_RETENTION_USAGE =
"logs_indexed_custom_retention_usage".freeze
LOGS_INDEXED_CUSTOM_RETENTION_PERCENTAGE =
"logs_indexed_custom_retention_percentage".freeze
LOGS_INDEXED_360DAY_USAGE =
"logs_indexed_360day_usage".freeze
LOGS_INDEXED_360DAY_PERCENTAGE =
"logs_indexed_360day_percentage".freeze
LOGS_INDEXED_180DAY_USAGE =
"logs_indexed_180day_usage".freeze
LOGS_INDEXED_180DAY_PERCENTAGE =
"logs_indexed_180day_percentage".freeze
LOGS_INDEXED_90DAY_USAGE =
"logs_indexed_90day_usage".freeze
LOGS_INDEXED_90DAY_PERCENTAGE =
"logs_indexed_90day_percentage".freeze
LOGS_INDEXED_60DAY_USAGE =
"logs_indexed_60day_usage".freeze
LOGS_INDEXED_60DAY_PERCENTAGE =
"logs_indexed_60day_percentage".freeze
LOGS_INDEXED_45DAY_USAGE =
"logs_indexed_45day_usage".freeze
LOGS_INDEXED_45DAY_PERCENTAGE =
"logs_indexed_45day_percentage".freeze
LOGS_INDEXED_30DAY_USAGE =
"logs_indexed_30day_usage".freeze
LOGS_INDEXED_30DAY_PERCENTAGE =
"logs_indexed_30day_percentage".freeze
LOGS_INDEXED_15DAY_USAGE =
"logs_indexed_15day_usage".freeze
LOGS_INDEXED_15DAY_PERCENTAGE =
"logs_indexed_15day_percentage".freeze
LOGS_INDEXED_7DAY_USAGE =
"logs_indexed_7day_usage".freeze
LOGS_INDEXED_7DAY_PERCENTAGE =
"logs_indexed_7day_percentage".freeze
LOGS_INDEXED_3DAY_USAGE =
"logs_indexed_3day_usage".freeze
LOGS_INDEXED_3DAY_PERCENTAGE =
"logs_indexed_3day_percentage".freeze
LOGS_INDEXED_1DAY_USAGE =
"logs_indexed_1day_usage".freeze
LOGS_INDEXED_1DAY_PERCENTAGE =
"logs_indexed_1day_percentage".freeze
RUM_REPLAY_SESSIONS_USAGE =
"rum_replay_sessions_usage".freeze
RUM_REPLAY_SESSIONS_PERCENTAGE =
"rum_replay_sessions_percentage".freeze
RUM_BROWSER_MOBILE_SESSIONS_USAGE =
"rum_browser_mobile_sessions_usage".freeze
RUM_BROWSER_MOBILE_SESSIONS_PERCENTAGE =
"rum_browser_mobile_sessions_percentage".freeze
INGESTED_SPANS_BYTES_USAGE =
"ingested_spans_bytes_usage".freeze
INGESTED_SPANS_BYTES_PERCENTAGE =
"ingested_spans_bytes_percentage".freeze
SIEM_ANALYZED_LOGS_ADD_ON_USAGE =
"siem_analyzed_logs_add_on_usage".freeze
SIEM_ANALYZED_LOGS_ADD_ON_PERCENTAGE =
"siem_analyzed_logs_add_on_percentage".freeze
SIEM_INGESTED_BYTES_USAGE =
"siem_ingested_bytes_usage".freeze
SIEM_INGESTED_BYTES_PERCENTAGE =
"siem_ingested_bytes_percentage".freeze
WORKFLOW_EXECUTIONS_USAGE =
"workflow_executions_usage".freeze
WORKFLOW_EXECUTIONS_PERCENTAGE =
"workflow_executions_percentage".freeze
SCA_FARGATE_USAGE =
"sca_fargate_usage".freeze
SCA_FARGATE_PERCENTAGE =
"sca_fargate_percentage".freeze

Class Method Summary collapse

Instance Method Summary collapse

Methods included from BaseEnumModel

included

Class Method Details

.build_from_hash(value) ⇒ String

Builds the enum from string

Parameters:

  • The (String)

    enum value in the form of the string

Returns:

  • (String)

    The enum value



54
55
56
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb', line 54

def self.build_from_hash(value)
  new.build_from_hash(value)
end

Instance Method Details

#build_from_hash(value) ⇒ String

Builds the enum from string

Parameters:

  • The (String)

    enum value in the form of the string

Returns:

  • (String)

    The enum value



61
62
63
64
# File 'lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb', line 61

def build_from_hash(value)
  constantValues = MonthlyUsageAttributionSupportedMetrics.constants.select { |c| MonthlyUsageAttributionSupportedMetrics::const_get(c) == value }
  constantValues.empty? ? DatadogAPIClient::V1::UnparsedObject.new(value) : value
end