Skip to content

Commit

Permalink
Update example for GetEstimatedCostByOrg (#1741)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> c04e581
  • Loading branch information
1 parent c09e825 commit 3eb3379
Show file tree
Hide file tree
Showing 5 changed files with 2,433 additions and 2,431 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68732,7 +68732,7 @@ <h3 id="GetEstimatedCostByOrgOptionalParameters.WithView">func (*GetEstimatedCos



<h2 id="GetHistoricalCostByOrgOptionalParameters">type <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L381">GetHistoricalCostByOrgOptionalParameters</a>
<h2 id="GetHistoricalCostByOrgOptionalParameters">type <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L382">GetHistoricalCostByOrgOptionalParameters</a>
<a class="permalink" href="#GetHistoricalCostByOrgOptionalParameters">&#xb6;</a>


Expand All @@ -68755,7 +68755,7 @@ <h2 id="GetHistoricalCostByOrgOptionalParameters">type <a href="https://github.c



<h3 id="NewGetHistoricalCostByOrgOptionalParameters">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L387">NewGetHistoricalCostByOrgOptionalParameters</a>
<h3 id="NewGetHistoricalCostByOrgOptionalParameters">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L388">NewGetHistoricalCostByOrgOptionalParameters</a>
<a class="permalink" href="#NewGetHistoricalCostByOrgOptionalParameters">&#xb6;</a>


Expand All @@ -68769,7 +68769,7 @@ <h3 id="NewGetHistoricalCostByOrgOptionalParameters">func <a href="https://githu



<h3 id="GetHistoricalCostByOrgOptionalParameters.WithEndMonth">func (*GetHistoricalCostByOrgOptionalParameters) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L399">WithEndMonth</a>
<h3 id="GetHistoricalCostByOrgOptionalParameters.WithEndMonth">func (*GetHistoricalCostByOrgOptionalParameters) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L400">WithEndMonth</a>
<a class="permalink" href="#GetHistoricalCostByOrgOptionalParameters.WithEndMonth">&#xb6;</a>


Expand All @@ -68782,7 +68782,7 @@ <h3 id="GetHistoricalCostByOrgOptionalParameters.WithEndMonth">func (*GetHistori



<h3 id="GetHistoricalCostByOrgOptionalParameters.WithView">func (*GetHistoricalCostByOrgOptionalParameters) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L393">WithView</a>
<h3 id="GetHistoricalCostByOrgOptionalParameters.WithView">func (*GetHistoricalCostByOrgOptionalParameters) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L394">WithView</a>
<a class="permalink" href="#GetHistoricalCostByOrgOptionalParameters.WithView">&#xb6;</a>


Expand All @@ -68797,7 +68797,7 @@ <h3 id="GetHistoricalCostByOrgOptionalParameters.WithView">func (*GetHistoricalC



<h2 id="GetHourlyUsageOptionalParameters">type <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L549">GetHourlyUsageOptionalParameters</a>
<h2 id="GetHourlyUsageOptionalParameters">type <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L550">GetHourlyUsageOptionalParameters</a>
<a class="permalink" href="#GetHourlyUsageOptionalParameters">&#xb6;</a>


Expand All @@ -68823,7 +68823,7 @@ <h2 id="GetHourlyUsageOptionalParameters">type <a href="https://github.com/DataD



<h3 id="NewGetHourlyUsageOptionalParameters">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L558">NewGetHourlyUsageOptionalParameters</a>
<h3 id="NewGetHourlyUsageOptionalParameters">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L559">NewGetHourlyUsageOptionalParameters</a>
<a class="permalink" href="#NewGetHourlyUsageOptionalParameters">&#xb6;</a>


Expand All @@ -68837,7 +68837,7 @@ <h3 id="NewGetHourlyUsageOptionalParameters">func <a href="https://github.com/Da



<h3 id="GetHourlyUsageOptionalParameters.WithFilterIncludeDescendants">func (*GetHourlyUsageOptionalParameters) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L570">WithFilterIncludeDescendants</a>
<h3 id="GetHourlyUsageOptionalParameters.WithFilterIncludeDescendants">func (*GetHourlyUsageOptionalParameters) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L571">WithFilterIncludeDescendants</a>
<a class="permalink" href="#GetHourlyUsageOptionalParameters.WithFilterIncludeDescendants">&#xb6;</a>


Expand All @@ -68850,7 +68850,7 @@ <h3 id="GetHourlyUsageOptionalParameters.WithFilterIncludeDescendants">func (*Ge



<h3 id="GetHourlyUsageOptionalParameters.WithFilterTimestampEnd">func (*GetHourlyUsageOptionalParameters) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L564">WithFilterTimestampEnd</a>
<h3 id="GetHourlyUsageOptionalParameters.WithFilterTimestampEnd">func (*GetHourlyUsageOptionalParameters) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L565">WithFilterTimestampEnd</a>
<a class="permalink" href="#GetHourlyUsageOptionalParameters.WithFilterTimestampEnd">&#xb6;</a>


Expand All @@ -68863,7 +68863,7 @@ <h3 id="GetHourlyUsageOptionalParameters.WithFilterTimestampEnd">func (*GetHourl



<h3 id="GetHourlyUsageOptionalParameters.WithFilterVersions">func (*GetHourlyUsageOptionalParameters) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L576">WithFilterVersions</a>
<h3 id="GetHourlyUsageOptionalParameters.WithFilterVersions">func (*GetHourlyUsageOptionalParameters) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L577">WithFilterVersions</a>
<a class="permalink" href="#GetHourlyUsageOptionalParameters.WithFilterVersions">&#xb6;</a>


Expand All @@ -68876,7 +68876,7 @@ <h3 id="GetHourlyUsageOptionalParameters.WithFilterVersions">func (*GetHourlyUsa



<h3 id="GetHourlyUsageOptionalParameters.WithPageLimit">func (*GetHourlyUsageOptionalParameters) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L582">WithPageLimit</a>
<h3 id="GetHourlyUsageOptionalParameters.WithPageLimit">func (*GetHourlyUsageOptionalParameters) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L583">WithPageLimit</a>
<a class="permalink" href="#GetHourlyUsageOptionalParameters.WithPageLimit">&#xb6;</a>


Expand All @@ -68889,7 +68889,7 @@ <h3 id="GetHourlyUsageOptionalParameters.WithPageLimit">func (*GetHourlyUsageOpt



<h3 id="GetHourlyUsageOptionalParameters.WithPageNextRecordId">func (*GetHourlyUsageOptionalParameters) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L588">WithPageNextRecordId</a>
<h3 id="GetHourlyUsageOptionalParameters.WithPageNextRecordId">func (*GetHourlyUsageOptionalParameters) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L589">WithPageNextRecordId</a>
<a class="permalink" href="#GetHourlyUsageOptionalParameters.WithPageNextRecordId">&#xb6;</a>


Expand Down Expand Up @@ -69057,7 +69057,7 @@ <h3 id="GetIncidentTeamOptionalParameters.WithInclude">func (*GetIncidentTeamOpt



<h2 id="GetUsageApplicationSecurityMonitoringOptionalParameters">type <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L749">GetUsageApplicationSecurityMonitoringOptionalParameters</a>
<h2 id="GetUsageApplicationSecurityMonitoringOptionalParameters">type <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L750">GetUsageApplicationSecurityMonitoringOptionalParameters</a>
<a class="permalink" href="#GetUsageApplicationSecurityMonitoringOptionalParameters">&#xb6;</a>


Expand All @@ -69079,7 +69079,7 @@ <h2 id="GetUsageApplicationSecurityMonitoringOptionalParameters">type <a href="h



<h3 id="NewGetUsageApplicationSecurityMonitoringOptionalParameters">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L754">NewGetUsageApplicationSecurityMonitoringOptionalParameters</a>
<h3 id="NewGetUsageApplicationSecurityMonitoringOptionalParameters">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L755">NewGetUsageApplicationSecurityMonitoringOptionalParameters</a>
<a class="permalink" href="#NewGetUsageApplicationSecurityMonitoringOptionalParameters">&#xb6;</a>


Expand All @@ -69093,7 +69093,7 @@ <h3 id="NewGetUsageApplicationSecurityMonitoringOptionalParameters">func <a href



<h3 id="GetUsageApplicationSecurityMonitoringOptionalParameters.WithEndHr">func (*GetUsageApplicationSecurityMonitoringOptionalParameters) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L760">WithEndHr</a>
<h3 id="GetUsageApplicationSecurityMonitoringOptionalParameters.WithEndHr">func (*GetUsageApplicationSecurityMonitoringOptionalParameters) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L761">WithEndHr</a>
<a class="permalink" href="#GetUsageApplicationSecurityMonitoringOptionalParameters.WithEndHr">&#xb6;</a>


Expand All @@ -69108,7 +69108,7 @@ <h3 id="GetUsageApplicationSecurityMonitoringOptionalParameters.WithEndHr">func



<h2 id="GetUsageLambdaTracedInvocationsOptionalParameters">type <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L901">GetUsageLambdaTracedInvocationsOptionalParameters</a>
<h2 id="GetUsageLambdaTracedInvocationsOptionalParameters">type <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L902">GetUsageLambdaTracedInvocationsOptionalParameters</a>
<a class="permalink" href="#GetUsageLambdaTracedInvocationsOptionalParameters">&#xb6;</a>


Expand All @@ -69130,7 +69130,7 @@ <h2 id="GetUsageLambdaTracedInvocationsOptionalParameters">type <a href="https:/



<h3 id="NewGetUsageLambdaTracedInvocationsOptionalParameters">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L906">NewGetUsageLambdaTracedInvocationsOptionalParameters</a>
<h3 id="NewGetUsageLambdaTracedInvocationsOptionalParameters">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L907">NewGetUsageLambdaTracedInvocationsOptionalParameters</a>
<a class="permalink" href="#NewGetUsageLambdaTracedInvocationsOptionalParameters">&#xb6;</a>


Expand All @@ -69144,7 +69144,7 @@ <h3 id="NewGetUsageLambdaTracedInvocationsOptionalParameters">func <a href="http



<h3 id="GetUsageLambdaTracedInvocationsOptionalParameters.WithEndHr">func (*GetUsageLambdaTracedInvocationsOptionalParameters) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L912">WithEndHr</a>
<h3 id="GetUsageLambdaTracedInvocationsOptionalParameters.WithEndHr">func (*GetUsageLambdaTracedInvocationsOptionalParameters) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L913">WithEndHr</a>
<a class="permalink" href="#GetUsageLambdaTracedInvocationsOptionalParameters.WithEndHr">&#xb6;</a>


Expand All @@ -69159,7 +69159,7 @@ <h3 id="GetUsageLambdaTracedInvocationsOptionalParameters.WithEndHr">func (*GetU



<h2 id="GetUsageObservabilityPipelinesOptionalParameters">type <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L1053">GetUsageObservabilityPipelinesOptionalParameters</a>
<h2 id="GetUsageObservabilityPipelinesOptionalParameters">type <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L1054">GetUsageObservabilityPipelinesOptionalParameters</a>
<a class="permalink" href="#GetUsageObservabilityPipelinesOptionalParameters">&#xb6;</a>


Expand All @@ -69181,7 +69181,7 @@ <h2 id="GetUsageObservabilityPipelinesOptionalParameters">type <a href="https://



<h3 id="NewGetUsageObservabilityPipelinesOptionalParameters">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L1058">NewGetUsageObservabilityPipelinesOptionalParameters</a>
<h3 id="NewGetUsageObservabilityPipelinesOptionalParameters">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L1059">NewGetUsageObservabilityPipelinesOptionalParameters</a>
<a class="permalink" href="#NewGetUsageObservabilityPipelinesOptionalParameters">&#xb6;</a>


Expand All @@ -69195,7 +69195,7 @@ <h3 id="NewGetUsageObservabilityPipelinesOptionalParameters">func <a href="https



<h3 id="GetUsageObservabilityPipelinesOptionalParameters.WithEndHr">func (*GetUsageObservabilityPipelinesOptionalParameters) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L1064">WithEndHr</a>
<h3 id="GetUsageObservabilityPipelinesOptionalParameters.WithEndHr">func (*GetUsageObservabilityPipelinesOptionalParameters) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L1065">WithEndHr</a>
<a class="permalink" href="#GetUsageObservabilityPipelinesOptionalParameters.WithEndHr">&#xb6;</a>


Expand Down Expand Up @@ -180229,7 +180229,7 @@ <h2 id="UsageMeteringApi">type <a href="https://github.com/DataDog/datadog-api-c



<h3 id="NewUsageMeteringApi">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L1199">NewUsageMeteringApi</a>
<h3 id="NewUsageMeteringApi">func <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L1200">NewUsageMeteringApi</a>
<a class="permalink" href="#NewUsageMeteringApi">&#xb6;</a>


Expand Down Expand Up @@ -180262,23 +180262,24 @@ <h3 id="UsageMeteringApi.GetCostByOrg">func (*UsageMeteringApi) <a href="https:/



<h3 id="UsageMeteringApi.GetEstimatedCostByOrg">func (*UsageMeteringApi) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L255">GetEstimatedCostByOrg</a>
<h3 id="UsageMeteringApi.GetEstimatedCostByOrg">func (*UsageMeteringApi) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L256">GetEstimatedCostByOrg</a>
<a class="permalink" href="#UsageMeteringApi.GetEstimatedCostByOrg">&#xb6;</a>


</h3>
<pre>func (a *<a href="#UsageMeteringApi">UsageMeteringApi</a>) GetEstimatedCostByOrg(ctx <a href="https://pkg.go.dev/context/">_context</a>.<a href="https://pkg.go.dev/context/#Context">Context</a>, o ...<a href="#GetEstimatedCostByOrgOptionalParameters">GetEstimatedCostByOrgOptionalParameters</a>) (<a href="#CostByOrgResponse">CostByOrgResponse</a>, *<a href="https://pkg.go.dev/net/http/">_nethttp</a>.<a href="https://pkg.go.dev/net/http/#Response">Response</a>, <a href="https://pkg.go.dev/builtin/#error">error</a>)</pre>
<p>GetEstimatedCostByOrg Get estimated cost across your account.
Get estimated cost across multi-org and single root-org accounts.
Estimated cost data is only available for the current month and previous month.
Estimated cost data is only available for the current month and previous month
and is delayed by up to 72 hours from when it was incurred.
To access historical costs prior to this, use the `/historical_cost` endpoint.






<h3 id="UsageMeteringApi.GetHistoricalCostByOrg">func (*UsageMeteringApi) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L424">GetHistoricalCostByOrg</a>
<h3 id="UsageMeteringApi.GetHistoricalCostByOrg">func (*UsageMeteringApi) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L425">GetHistoricalCostByOrg</a>
<a class="permalink" href="#UsageMeteringApi.GetHistoricalCostByOrg">&#xb6;</a>


Expand All @@ -180293,7 +180294,7 @@ <h3 id="UsageMeteringApi.GetHistoricalCostByOrg">func (*UsageMeteringApi) <a hre



<h3 id="UsageMeteringApi.GetHourlyUsage">func (*UsageMeteringApi) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L616">GetHourlyUsage</a>
<h3 id="UsageMeteringApi.GetHourlyUsage">func (*UsageMeteringApi) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L617">GetHourlyUsage</a>
<a class="permalink" href="#UsageMeteringApi.GetHourlyUsage">&#xb6;</a>


Expand All @@ -180307,7 +180308,7 @@ <h3 id="UsageMeteringApi.GetHourlyUsage">func (*UsageMeteringApi) <a href="https



<h3 id="UsageMeteringApi.GetUsageApplicationSecurityMonitoring">func (*UsageMeteringApi) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L784">GetUsageApplicationSecurityMonitoring</a>
<h3 id="UsageMeteringApi.GetUsageApplicationSecurityMonitoring">func (*UsageMeteringApi) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L785">GetUsageApplicationSecurityMonitoring</a>
<a class="permalink" href="#UsageMeteringApi.GetUsageApplicationSecurityMonitoring">&#xb6;</a>


Expand All @@ -180322,7 +180323,7 @@ <h3 id="UsageMeteringApi.GetUsageApplicationSecurityMonitoring">func (*UsageMete



<h3 id="UsageMeteringApi.GetUsageLambdaTracedInvocations">func (*UsageMeteringApi) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L936">GetUsageLambdaTracedInvocations</a>
<h3 id="UsageMeteringApi.GetUsageLambdaTracedInvocations">func (*UsageMeteringApi) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L937">GetUsageLambdaTracedInvocations</a>
<a class="permalink" href="#UsageMeteringApi.GetUsageLambdaTracedInvocations">&#xb6;</a>


Expand All @@ -180337,7 +180338,7 @@ <h3 id="UsageMeteringApi.GetUsageLambdaTracedInvocations">func (*UsageMeteringAp



<h3 id="UsageMeteringApi.GetUsageObservabilityPipelines">func (*UsageMeteringApi) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L1088">GetUsageObservabilityPipelines</a>
<h3 id="UsageMeteringApi.GetUsageObservabilityPipelines">func (*UsageMeteringApi) <a href="https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_usage_metering.go#L1089">GetUsageObservabilityPipelines</a>
<a class="permalink" href="#UsageMeteringApi.GetUsageObservabilityPipelines">&#xb6;</a>


Expand Down
Loading

0 comments on commit 3eb3379

Please sign in to comment.