@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class UsageMeteringApi extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UsageMeteringApi.GetCostByOrgOptionalParameters
Manage optional parameters to getCostByOrg.
|
static class |
UsageMeteringApi.GetEstimatedCostByOrgOptionalParameters
Manage optional parameters to getEstimatedCostByOrg.
|
static class |
UsageMeteringApi.GetHistoricalCostByOrgOptionalParameters
Manage optional parameters to getHistoricalCostByOrg.
|
static class |
UsageMeteringApi.GetHourlyUsageOptionalParameters
Manage optional parameters to getHourlyUsage.
|
static class |
UsageMeteringApi.GetUsageApplicationSecurityMonitoringOptionalParameters
Manage optional parameters to getUsageApplicationSecurityMonitoring.
|
static class |
UsageMeteringApi.GetUsageLambdaTracedInvocationsOptionalParameters
Manage optional parameters to getUsageLambdaTracedInvocations.
|
static class |
UsageMeteringApi.GetUsageObservabilityPipelinesOptionalParameters
Manage optional parameters to getUsageObservabilityPipelines.
|
Constructor and Description |
---|
UsageMeteringApi() |
UsageMeteringApi(ApiClient apiClient) |
public UsageMeteringApi()
public UsageMeteringApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient
- an instance of API client@Deprecated public CostByOrgResponse getCostByOrg(OffsetDateTime startMonth) throws ApiException
startMonth
- Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM]
for cost beginning this month. (required)ApiException
- if fails to make API call@Deprecated public CompletableFuture<CostByOrgResponse> getCostByOrgAsync(OffsetDateTime startMonth)
startMonth
- Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM]
for cost beginning this month. (required)@Deprecated public CostByOrgResponse getCostByOrg(OffsetDateTime startMonth, UsageMeteringApi.GetCostByOrgOptionalParameters parameters) throws ApiException
startMonth
- Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM]
for cost beginning this month. (required)parameters
- Optional parameters for the request.ApiException
- if fails to make API call@Deprecated public CompletableFuture<CostByOrgResponse> getCostByOrgAsync(OffsetDateTime startMonth, UsageMeteringApi.GetCostByOrgOptionalParameters parameters)
startMonth
- Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM]
for cost beginning this month. (required)parameters
- Optional parameters for the request.@Deprecated public ApiResponse<CostByOrgResponse> getCostByOrgWithHttpInfo(OffsetDateTime startMonth, UsageMeteringApi.GetCostByOrgOptionalParameters parameters) throws ApiException
/historical_cost
instead.startMonth
- Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM]
for cost beginning this month. (required)parameters
- Optional parameters for the request.ApiException
- if fails to make API callStatus Code | Description | Response Headers |
200 | OK | - |
400 | Bad Request | - |
403 | Forbidden - User is not authorized | - |
429 | Too many requests | - |
@Deprecated public CompletableFuture<ApiResponse<CostByOrgResponse>> getCostByOrgWithHttpInfoAsync(OffsetDateTime startMonth, UsageMeteringApi.GetCostByOrgOptionalParameters parameters)
startMonth
- Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM]
for cost beginning this month. (required)parameters
- Optional parameters for the request.public CostByOrgResponse getEstimatedCostByOrg() throws ApiException
ApiException
- if fails to make API callpublic CompletableFuture<CostByOrgResponse> getEstimatedCostByOrgAsync()
public CostByOrgResponse getEstimatedCostByOrg(UsageMeteringApi.GetEstimatedCostByOrgOptionalParameters parameters) throws ApiException
parameters
- Optional parameters for the request.ApiException
- if fails to make API callpublic CompletableFuture<CostByOrgResponse> getEstimatedCostByOrgAsync(UsageMeteringApi.GetEstimatedCostByOrgOptionalParameters parameters)
parameters
- Optional parameters for the request.public ApiResponse<CostByOrgResponse> getEstimatedCostByOrgWithHttpInfo(UsageMeteringApi.GetEstimatedCostByOrgOptionalParameters parameters) throws ApiException
/historical_cost
endpoint.parameters
- Optional parameters for the request.ApiException
- if fails to make API callStatus Code | Description | Response Headers |
200 | OK | - |
400 | Bad Request | - |
403 | Forbidden - User is not authorized | - |
429 | Too many requests | - |
public CompletableFuture<ApiResponse<CostByOrgResponse>> getEstimatedCostByOrgWithHttpInfoAsync(UsageMeteringApi.GetEstimatedCostByOrgOptionalParameters parameters)
parameters
- Optional parameters for the request.public CostByOrgResponse getHistoricalCostByOrg(OffsetDateTime startMonth) throws ApiException
startMonth
- Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM]
for cost beginning this month. (required)ApiException
- if fails to make API callpublic CompletableFuture<CostByOrgResponse> getHistoricalCostByOrgAsync(OffsetDateTime startMonth)
startMonth
- Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM]
for cost beginning this month. (required)public CostByOrgResponse getHistoricalCostByOrg(OffsetDateTime startMonth, UsageMeteringApi.GetHistoricalCostByOrgOptionalParameters parameters) throws ApiException
startMonth
- Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM]
for cost beginning this month. (required)parameters
- Optional parameters for the request.ApiException
- if fails to make API callpublic CompletableFuture<CostByOrgResponse> getHistoricalCostByOrgAsync(OffsetDateTime startMonth, UsageMeteringApi.GetHistoricalCostByOrgOptionalParameters parameters)
startMonth
- Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM]
for cost beginning this month. (required)parameters
- Optional parameters for the request.public ApiResponse<CostByOrgResponse> getHistoricalCostByOrgWithHttpInfo(OffsetDateTime startMonth, UsageMeteringApi.GetHistoricalCostByOrgOptionalParameters parameters) throws ApiException
startMonth
- Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM]
for cost beginning this month. (required)parameters
- Optional parameters for the request.ApiException
- if fails to make API callStatus Code | Description | Response Headers |
200 | OK | - |
400 | Bad Request | - |
403 | Forbidden - User is not authorized | - |
429 | Too many requests | - |
public CompletableFuture<ApiResponse<CostByOrgResponse>> getHistoricalCostByOrgWithHttpInfoAsync(OffsetDateTime startMonth, UsageMeteringApi.GetHistoricalCostByOrgOptionalParameters parameters)
startMonth
- Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM]
for cost beginning this month. (required)parameters
- Optional parameters for the request.public HourlyUsageResponse getHourlyUsage(OffsetDateTime filterTimestampStart, String filterProductFamilies) throws ApiException
filterTimestampStart
- Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage beginning at this hour. (required)filterProductFamilies
- Comma separated list of product families to retrieve. Available
families are all
, analyzed_logs
, application_security
, audit_logs
, serverless
, ci_app
,
cloud_cost_management
, cspm
, custom_events
, cws
, dbm
, fargate
, infra_hosts
,
incident_management
, indexed_logs
, indexed_spans
,
ingested_spans
, iot
, lambda_traced_invocations
, logs
, network_flows
, network_hosts
,
observability_pipelines
, online_archive
, profiling
,
rum
, rum_browser_sessions
, rum_mobile_sessions
, sds
, snmp
, synthetics_api
, synthetics_browser
,
synthetics_parallel_testing
, and timeseries
. (required)ApiException
- if fails to make API callpublic CompletableFuture<HourlyUsageResponse> getHourlyUsageAsync(OffsetDateTime filterTimestampStart, String filterProductFamilies)
filterTimestampStart
- Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage beginning at this hour. (required)filterProductFamilies
- Comma separated list of product families to retrieve. Available
families are all
, analyzed_logs
, application_security
, audit_logs
, serverless
, ci_app
,
cloud_cost_management
, cspm
, custom_events
, cws
, dbm
, fargate
, infra_hosts
,
incident_management
, indexed_logs
, indexed_spans
,
ingested_spans
, iot
, lambda_traced_invocations
, logs
, network_flows
, network_hosts
,
observability_pipelines
, online_archive
, profiling
,
rum
, rum_browser_sessions
, rum_mobile_sessions
, sds
, snmp
, synthetics_api
, synthetics_browser
,
synthetics_parallel_testing
, and timeseries
. (required)public HourlyUsageResponse getHourlyUsage(OffsetDateTime filterTimestampStart, String filterProductFamilies, UsageMeteringApi.GetHourlyUsageOptionalParameters parameters) throws ApiException
filterTimestampStart
- Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage beginning at this hour. (required)filterProductFamilies
- Comma separated list of product families to retrieve. Available
families are all
, analyzed_logs
, application_security
, audit_logs
, serverless
, ci_app
,
cloud_cost_management
, cspm
, custom_events
, cws
, dbm
, fargate
, infra_hosts
,
incident_management
, indexed_logs
, indexed_spans
,
ingested_spans
, iot
, lambda_traced_invocations
, logs
, network_flows
, network_hosts
,
observability_pipelines
, online_archive
, profiling
,
rum
, rum_browser_sessions
, rum_mobile_sessions
, sds
, snmp
, synthetics_api
, synthetics_browser
,
synthetics_parallel_testing
, and timeseries
. (required)parameters
- Optional parameters for the request.ApiException
- if fails to make API callpublic CompletableFuture<HourlyUsageResponse> getHourlyUsageAsync(OffsetDateTime filterTimestampStart, String filterProductFamilies, UsageMeteringApi.GetHourlyUsageOptionalParameters parameters)
filterTimestampStart
- Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage beginning at this hour. (required)filterProductFamilies
- Comma separated list of product families to retrieve. Available
families are all
, analyzed_logs
, application_security
, audit_logs
, serverless
, ci_app
,
cloud_cost_management
, cspm
, custom_events
, cws
, dbm
, fargate
, infra_hosts
,
incident_management
, indexed_logs
, indexed_spans
,
ingested_spans
, iot
, lambda_traced_invocations
, logs
, network_flows
, network_hosts
,
observability_pipelines
, online_archive
, profiling
,
rum
, rum_browser_sessions
, rum_mobile_sessions
, sds
, snmp
, synthetics_api
, synthetics_browser
,
synthetics_parallel_testing
, and timeseries
. (required)parameters
- Optional parameters for the request.public ApiResponse<HourlyUsageResponse> getHourlyUsageWithHttpInfo(OffsetDateTime filterTimestampStart, String filterProductFamilies, UsageMeteringApi.GetHourlyUsageOptionalParameters parameters) throws ApiException
filterTimestampStart
- Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage beginning at this hour. (required)filterProductFamilies
- Comma separated list of product families to retrieve. Available
families are all
, analyzed_logs
, application_security
, audit_logs
, serverless
, ci_app
,
cloud_cost_management
, cspm
, custom_events
, cws
, dbm
, fargate
, infra_hosts
,
incident_management
, indexed_logs
, indexed_spans
,
ingested_spans
, iot
, lambda_traced_invocations
, logs
, network_flows
, network_hosts
,
observability_pipelines
, online_archive
, profiling
,
rum
, rum_browser_sessions
, rum_mobile_sessions
, sds
, snmp
, synthetics_api
, synthetics_browser
,
synthetics_parallel_testing
, and timeseries
. (required)parameters
- Optional parameters for the request.ApiException
- if fails to make API callStatus Code | Description | Response Headers |
200 | OK | - |
400 | Bad Request | - |
403 | Forbidden - User is not authorized | - |
429 | Too many requests | - |
public CompletableFuture<ApiResponse<HourlyUsageResponse>> getHourlyUsageWithHttpInfoAsync(OffsetDateTime filterTimestampStart, String filterProductFamilies, UsageMeteringApi.GetHourlyUsageOptionalParameters parameters)
filterTimestampStart
- Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage beginning at this hour. (required)filterProductFamilies
- Comma separated list of product families to retrieve. Available
families are all
, analyzed_logs
, application_security
, audit_logs
, serverless
, ci_app
,
cloud_cost_management
, cspm
, custom_events
, cws
, dbm
, fargate
, infra_hosts
,
incident_management
, indexed_logs
, indexed_spans
,
ingested_spans
, iot
, lambda_traced_invocations
, logs
, network_flows
, network_hosts
,
observability_pipelines
, online_archive
, profiling
,
rum
, rum_browser_sessions
, rum_mobile_sessions
, sds
, snmp
, synthetics_api
, synthetics_browser
,
synthetics_parallel_testing
, and timeseries
. (required)parameters
- Optional parameters for the request.public UsageApplicationSecurityMonitoringResponse getUsageApplicationSecurityMonitoring(OffsetDateTime startHr) throws ApiException
startHr
- Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage beginning at this hour. (required)ApiException
- if fails to make API callpublic CompletableFuture<UsageApplicationSecurityMonitoringResponse> getUsageApplicationSecurityMonitoringAsync(OffsetDateTime startHr)
startHr
- Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage beginning at this hour. (required)public UsageApplicationSecurityMonitoringResponse getUsageApplicationSecurityMonitoring(OffsetDateTime startHr, UsageMeteringApi.GetUsageApplicationSecurityMonitoringOptionalParameters parameters) throws ApiException
startHr
- Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage beginning at this hour. (required)parameters
- Optional parameters for the request.ApiException
- if fails to make API callpublic CompletableFuture<UsageApplicationSecurityMonitoringResponse> getUsageApplicationSecurityMonitoringAsync(OffsetDateTime startHr, UsageMeteringApi.GetUsageApplicationSecurityMonitoringOptionalParameters parameters)
startHr
- Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage beginning at this hour. (required)parameters
- Optional parameters for the request.public ApiResponse<UsageApplicationSecurityMonitoringResponse> getUsageApplicationSecurityMonitoringWithHttpInfo(OffsetDateTime startHr, UsageMeteringApi.GetUsageApplicationSecurityMonitoringOptionalParameters parameters) throws ApiException
startHr
- Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage beginning at this hour. (required)parameters
- Optional parameters for the request.ApiException
- if fails to make API callStatus Code | Description | Response Headers |
200 | OK | - |
400 | Bad Request | - |
403 | Forbidden - User is not authorized | - |
429 | Too many requests | - |
public CompletableFuture<ApiResponse<UsageApplicationSecurityMonitoringResponse>> getUsageApplicationSecurityMonitoringWithHttpInfoAsync(OffsetDateTime startHr, UsageMeteringApi.GetUsageApplicationSecurityMonitoringOptionalParameters parameters)
startHr
- Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage beginning at this hour. (required)parameters
- Optional parameters for the request.public UsageLambdaTracedInvocationsResponse getUsageLambdaTracedInvocations(OffsetDateTime startHr) throws ApiException
startHr
- Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage beginning at this hour. (required)ApiException
- if fails to make API callpublic CompletableFuture<UsageLambdaTracedInvocationsResponse> getUsageLambdaTracedInvocationsAsync(OffsetDateTime startHr)
startHr
- Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage beginning at this hour. (required)public UsageLambdaTracedInvocationsResponse getUsageLambdaTracedInvocations(OffsetDateTime startHr, UsageMeteringApi.GetUsageLambdaTracedInvocationsOptionalParameters parameters) throws ApiException
startHr
- Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage beginning at this hour. (required)parameters
- Optional parameters for the request.ApiException
- if fails to make API callpublic CompletableFuture<UsageLambdaTracedInvocationsResponse> getUsageLambdaTracedInvocationsAsync(OffsetDateTime startHr, UsageMeteringApi.GetUsageLambdaTracedInvocationsOptionalParameters parameters)
startHr
- Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage beginning at this hour. (required)parameters
- Optional parameters for the request.public ApiResponse<UsageLambdaTracedInvocationsResponse> getUsageLambdaTracedInvocationsWithHttpInfo(OffsetDateTime startHr, UsageMeteringApi.GetUsageLambdaTracedInvocationsOptionalParameters parameters) throws ApiException
startHr
- Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage beginning at this hour. (required)parameters
- Optional parameters for the request.ApiException
- if fails to make API callStatus Code | Description | Response Headers |
200 | OK | - |
400 | Bad Request | - |
403 | Forbidden - User is not authorized | - |
429 | Too many requests | - |
public CompletableFuture<ApiResponse<UsageLambdaTracedInvocationsResponse>> getUsageLambdaTracedInvocationsWithHttpInfoAsync(OffsetDateTime startHr, UsageMeteringApi.GetUsageLambdaTracedInvocationsOptionalParameters parameters)
startHr
- Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage beginning at this hour. (required)parameters
- Optional parameters for the request.public UsageObservabilityPipelinesResponse getUsageObservabilityPipelines(OffsetDateTime startHr) throws ApiException
startHr
- Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage beginning at this hour. (required)ApiException
- if fails to make API callpublic CompletableFuture<UsageObservabilityPipelinesResponse> getUsageObservabilityPipelinesAsync(OffsetDateTime startHr)
startHr
- Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage beginning at this hour. (required)public UsageObservabilityPipelinesResponse getUsageObservabilityPipelines(OffsetDateTime startHr, UsageMeteringApi.GetUsageObservabilityPipelinesOptionalParameters parameters) throws ApiException
startHr
- Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage beginning at this hour. (required)parameters
- Optional parameters for the request.ApiException
- if fails to make API callpublic CompletableFuture<UsageObservabilityPipelinesResponse> getUsageObservabilityPipelinesAsync(OffsetDateTime startHr, UsageMeteringApi.GetUsageObservabilityPipelinesOptionalParameters parameters)
startHr
- Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage beginning at this hour. (required)parameters
- Optional parameters for the request.public ApiResponse<UsageObservabilityPipelinesResponse> getUsageObservabilityPipelinesWithHttpInfo(OffsetDateTime startHr, UsageMeteringApi.GetUsageObservabilityPipelinesOptionalParameters parameters) throws ApiException
startHr
- Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage beginning at this hour. (required)parameters
- Optional parameters for the request.ApiException
- if fails to make API callStatus Code | Description | Response Headers |
200 | OK | - |
400 | Bad Request | - |
403 | Forbidden - User is not authorized | - |
429 | Too many requests | - |
public CompletableFuture<ApiResponse<UsageObservabilityPipelinesResponse>> getUsageObservabilityPipelinesWithHttpInfoAsync(OffsetDateTime startHr, UsageMeteringApi.GetUsageObservabilityPipelinesOptionalParameters parameters)
startHr
- Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh]
for usage beginning at this hour. (required)parameters
- Optional parameters for the request.Copyright © 2023. All rights reserved.