Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
813 changes: 364 additions & 449 deletions .generator/schemas/v2/openapi.yaml

Large diffs are not rendered by default.

7 changes: 1 addition & 6 deletions api/datadog/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -919,6 +919,7 @@ func NewConfiguration() *Configuration {
"v2.UpdateForm": false,
"v2.UpsertAndPublishFormVersion": false,
"v2.UpsertFormVersion": false,
"v2.UpdateOrgSamlConfigurations": false,
"v2.CreateHamrOrgConnection": false,
"v2.GetHamrOrgConnection": false,
"v2.DeleteEntityIntegrationConfig": false,
Expand Down Expand Up @@ -1031,7 +1032,6 @@ func NewConfiguration() *Configuration {
"v2.GetScopesRestriction": false,
"v2.RegisterOAuthClient": false,
"v2.UpsertScopesRestriction": false,
"v2.UpdateOrgSamlConfigurations": false,
"v2.DisableCustomerOrg": false,
"v2.BulkUpdateOrgGroupMemberships": false,
"v2.CreateOrgGroup": false,
Expand Down Expand Up @@ -1082,11 +1082,6 @@ func NewConfiguration() *Configuration {
"v2.CreateScorecardOutcomesBatch": false,
"v2.GetEntityRiskScore": false,
"v2.ListEntityRiskScores": false,
"v2.CreateIncidentService": false,
"v2.DeleteIncidentService": false,
"v2.GetIncidentService": false,
"v2.ListIncidentServices": false,
"v2.UpdateIncidentService": false,
"v2.CreateSLOReportJob": false,
"v2.GetSLOReport": false,
"v2.GetSLOReportJobStatus": false,
Expand Down
10 changes: 10 additions & 0 deletions api/datadogV2/api_cloud_cost_management.go
Original file line number Diff line number Diff line change
Expand Up @@ -3811,6 +3811,7 @@ func (a *CloudCostManagementApi) ListCostTagDescriptions(ctx _context.Context, o
// ListCostTagKeySourcesOptionalParameters holds optional parameters for ListCostTagKeySources.
type ListCostTagKeySourcesOptionalParameters struct {
FilterProvider *string
FilterMetric *string
}

// NewListCostTagKeySourcesOptionalParameters creates an empty struct for parameters.
Expand All @@ -3825,6 +3826,12 @@ func (r *ListCostTagKeySourcesOptionalParameters) WithFilterProvider(filterProvi
return r
}

// WithFilterMetric sets the corresponding parameter name and returns the struct.
func (r *ListCostTagKeySourcesOptionalParameters) WithFilterMetric(filterMetric string) *ListCostTagKeySourcesOptionalParameters {
r.FilterMetric = &filterMetric
return r
}

// ListCostTagKeySources List Cloud Cost Management tag sources.
// List Cloud Cost Management tag keys observed for the requested period, along with the origin sources that produced them (for example, `aws-user-defined`, `custom`).
func (a *CloudCostManagementApi) ListCostTagKeySources(ctx _context.Context, filterMonth string, o ...ListCostTagKeySourcesOptionalParameters) (CostTagKeySourcesResponse, *_nethttp.Response, error) {
Expand Down Expand Up @@ -3865,6 +3872,9 @@ func (a *CloudCostManagementApi) ListCostTagKeySources(ctx _context.Context, fil
if optionalParams.FilterProvider != nil {
localVarQueryParams.Add("filter[provider]", datadog.ParameterToString(*optionalParams.FilterProvider, ""))
}
if optionalParams.FilterMetric != nil {
localVarQueryParams.Add("filter[metric]", datadog.ParameterToString(*optionalParams.FilterMetric, ""))
}
localVarHeaderParams["Accept"] = "application/json"

if a.Client.Cfg.DelegatedTokenConfig != nil {
Expand Down
Loading
Loading